Configuration.AddService

Configuration.AddService<TService> method

Adds the specified service to the configuration.

public void AddService<TService>(TService service)
    where TService : class, IService
ParameterDescription
TServiceThe type of service to add.
serviceAn instance of the service to add.

See Also