Represents an activator that uses a factory and a scope to activate and cache an instance.
Assembly: InjectMe (in InjectMe.dll) Version: 0.9.17.21 (0.9.17.21)
Thetype exposes the following members.
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Serves as a hash function for a particular type.(Inherited from Object.)
Gets the Type of the current instance.(Inherited from Object.)
Creates a shallow copy of the current Object.(Inherited from Object.)
Returns a string that represents the current object.(Inherited from Object.)
|GetTypedFuncDelegate||(Defined by TypedServiceExtensions.)|
|GetTypedLazyDelegate||(Defined by TypedServiceExtensions.)|
Gets the IFactory responsible for the construction of the service.
Gets the ServiceIdentity of the service to construct.
Gets the IServiceScope of the constructed service.
The scoped activator is used when InjectMe constructs a service. It contains an IFactory, which is responsible for constructing the service, and an IServiceScope which is responsible for caching the service. InjectMe comes with a ConstructionFactory which will create the service by invoking the most relevant constructor, and a DelegateFactory which leaves the construction to a delegate method.