Winter IoC Container

ServiceProvider Members

ServiceProvider overview

Public Instance Constructors

ServiceProvider Overloaded. Initializes a new instance of the ServiceProvider class.

Public Instance Properties

Config Config for factory If not set, component will try to find it using GetService
Container (inherited from Component)Gets the IContainer that contains the Component.
Site 

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.

Public Instance Events

Disposed (inherited from Component)Adds an event handler to listen to the Disposed event on the component.

Protected Instance Properties

CanRaiseEvents (inherited from Component)Gets a value indicating whether the component can raise an event.
DesignMode (inherited from Component)Gets a value that indicates whether the Component is currently in design mode.
Events (inherited from Component)Gets the list of event handlers that are attached to this Component.

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