메소드 | 설명 | |
---|---|---|
ComponentRegistration ( System.Guid id, IInstanceActivator activator, IComponentLifetime lifetime, InstanceSharing sharing, InstanceOwnership ownership, IEnumerable |
Create a new component registration.
|
|
ComponentRegistration ( System.Guid id, IInstanceActivator activator, IComponentLifetime lifetime, InstanceSharing sharing, InstanceOwnership ownership, IEnumerable |
Create a new component registration.
|
|
RaiseActivated ( Service service, IComponentContext context, IEnumerable |
Called by the container once an instance has been fully constructed, including any requested objects that depend on the instance.
|
|
RaiseActivating ( Service service, IComponentContext context, IEnumerable |
Called by the container once an instance has been constructed.
|
|
RaisePreparing ( Service service, IComponentContext context, IEnumerable |
Called by the container when an instance is required.
|
|
ToString ( ) : string |
Describes the component in a human-readable form.
|
메소드 | 설명 | |
---|---|---|
Dispose ( bool disposing ) : void |
Releases unmanaged and - optionally - managed resources
|
public ComponentRegistration ( System.Guid id, IInstanceActivator activator, IComponentLifetime lifetime, InstanceSharing sharing, InstanceOwnership ownership, IEnumerable |
||
id | System.Guid | Unique identifier for the component. |
activator | IInstanceActivator | Activator used to activate instances. |
lifetime | IComponentLifetime | Determines how the component will be associated with its lifetime. |
sharing | InstanceSharing | Whether the component is shared within its lifetime scope. |
ownership | InstanceOwnership | Whether the component instances are disposed at the end of their lifetimes. |
services | IEnumerable |
Services the component provides. |
metadata | object>.IDictionary | Data associated with the component. |
리턴 | System |
public ComponentRegistration ( System.Guid id, IInstanceActivator activator, IComponentLifetime lifetime, InstanceSharing sharing, InstanceOwnership ownership, IEnumerable |
||
id | System.Guid | Unique identifier for the component. |
activator | IInstanceActivator | Activator used to activate instances. |
lifetime | IComponentLifetime | Determines how the component will be associated with its lifetime. |
sharing | InstanceSharing | Whether the component is shared within its lifetime scope. |
ownership | InstanceOwnership | Whether the component instances are disposed at the end of their lifetimes. |
services | IEnumerable |
Services the component provides. |
metadata | object>.IDictionary | Data associated with the component. |
target | IComponentRegistration | The component registration upon which this registration is based. |
리턴 | System |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
리턴 | void |
public RaiseActivated ( Service service, IComponentContext context, IEnumerable |
||
service | Service | Service which is activated |
context | IComponentContext | The context in which the instance was activated. |
parameters | IEnumerable |
The parameters supplied to the activator. |
instance | object | The instance. |
리턴 | void |
public RaiseActivating ( Service service, IComponentContext context, IEnumerable |
||
service | Service | Service which is activating |
context | IComponentContext | The context in which the instance was activated. |
parameters | IEnumerable |
The parameters supplied to the activator. |
instance | object | The instance. |
리턴 | void |
public RaisePreparing ( Service service, IComponentContext context, IEnumerable |
||
service | Service | Service which is preparing |
context | IComponentContext | The context in which the instance will be activated. |
parameters | IEnumerable |
Parameters for activation. |
리턴 | void |