IServiceContainer Methods

The IServiceContainer type exposes the following members.

Methods
  NameDescription
Public methodAddServiceTService
Adds the specified service to the service container.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodGetServiceTService
Gets a service object of the specified type.
(Inherited from IServiceProvider.)
See Also