프로퍼티 | 타입 | 설명 | |
---|---|---|---|
RootTag | object |
메소드 | 설명 | |
---|---|---|
BeginLifetimeScope ( ) : ILifetimeScope |
Begin a new anonymous sub-scope. Instances created via the sub-scope will be disposed along with it.
|
|
BeginLifetimeScope ( Action |
Begin a new anonymous sub-scope, with additional components available to it. Component instances created via the new scope will be disposed along with it.
|
|
BeginLifetimeScope ( object tag ) : ILifetimeScope |
Begin a new tagged sub-scope. Instances created via the sub-scope will be disposed along with it.
|
|
BeginLifetimeScope ( object tag, Action |
Begin a new tagged sub-scope, with additional components available to it. Component instances created via the new scope will be disposed along with it.
|
|
GetOrCreateAndShare ( System.Guid id, Func |
Try to retrieve an instance based on a GUID key. If the instance does not exist, invoke creator to create it.
|
|
LifetimeScope ( IComponentRegistry componentRegistry ) : System |
Create a root lifetime scope for the provided components.
|
|
LifetimeScope ( IComponentRegistry componentRegistry, object tag ) : System |
Create a root lifetime scope for the provided components.
|
|
ResolveLookup ( Service service, IComponentRegistration registration, IEnumerable |
Resolve an lookup of the provided registration within the context.
|
메소드 | 설명 | |
---|---|---|
Dispose ( bool disposing ) : void |
Releases unmanaged and - optionally - managed resources
|
|
LifetimeScope ( IComponentRegistry componentRegistry, |
Create a lifetime scope for the provided components and nested beneath a parent.
|
메소드 | 설명 | |
---|---|---|
CheckNotDisposed ( ) : void | ||
CreateScopeRestrictedRegistry ( object tag, Action |
||
IServiceProvider ( |
Gets the service object of the specified type.
|
|
LifetimeScope ( ) : System | ||
MakeAnonymousTag ( ) : object |
public BeginLifetimeScope ( Action |
||
configurationAction | Action |
Action on a |
리턴 | ILifetimeScope |
public BeginLifetimeScope ( object tag ) : ILifetimeScope | ||
tag | object | The tag applied to the |
리턴 | ILifetimeScope |
public BeginLifetimeScope ( object tag, Action |
||
tag | object | The tag applied to the |
configurationAction | Action |
Action on a |
리턴 | ILifetimeScope |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
리턴 | void |
public GetOrCreateAndShare ( System.Guid id, Func | ||
id | System.Guid | Key to look up. |
creator | Func | Creation function. |
리턴 | object |
public LifetimeScope ( IComponentRegistry componentRegistry ) : System | ||
componentRegistry | IComponentRegistry | Components used in the scope. |
리턴 | System |
protected LifetimeScope ( IComponentRegistry componentRegistry, |
||
componentRegistry | IComponentRegistry | Components used in the scope. |
parent | Parent scope. | |
tag | object | The tag applied to the |
리턴 | System |
public LifetimeScope ( IComponentRegistry componentRegistry, object tag ) : System | ||
componentRegistry | IComponentRegistry | Components used in the scope. |
tag | object | The tag applied to the |
리턴 | System |
public ResolveLookup ( Service service, IComponentRegistration registration, IEnumerable |
||
service | Service | Service which is trying to be resolved |
registration | IComponentRegistration | The registration. |
parameters | IEnumerable |
Parameters for the instance. |
리턴 | IInstanceLookup |