Winter IoC Container

ServiceProvider Methods

The methods of the ServiceProvider class are listed below. For a complete list of ServiceProvider class members, see the ServiceProvider Members topic.

Public Instance Methods

CreateObjRef (inherited from MarshalByRefObject)Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Dispose (inherited from Component)Overloaded. Releases all resources used by the Component.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetLifetimeService (inherited from MarshalByRefObject)Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetObject 
GetType (inherited from Object)Gets the Type of the current instance.
Init Create services
InitializeLifetimeService (inherited from MarshalByRefObject)Obtains a lifetime service object to control the lifetime policy for this instance.
ToString (inherited from Component)Returns a String containing the name of the Component, if any. This method should not be overridden.

Protected Instance Methods

CreateInstance Create instance by component initialization info
Dispose (inherited from Component)Overloaded. Releases the unmanaged resources used by the Component and optionally releases the managed resources.
Finalize (inherited from Component)Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
FindServiceInstance 
GetInstance 
GetService (inherited from Component)Returns an object that represents a service provided by the Component or by its Container.
GetServiceInternalOverloaded. Service provider: get service by type internal implementation
MemberwiseClone (inherited from MarshalByRefObject)Overloaded. Creates a shallow copy of the current MarshalByRefObject object.
MemberwiseClone (inherited from Object)Overloaded. Creates a shallow copy of the current Object.
ResolveInstance 
SaveServiceInLookups 

Explicit Interface Implementations

INamedServiceProvider.GetService Service provider: get requested service by name.
IServiceProvider.GetService Service provider: get requested service by type.

See Also

ServiceProvider Class | NI.Winter Namespace