메소드 | 설명 | |
---|---|---|
AttachExistingBurden ( Burden burden ) : void | ||
BuildCycleMessageFor ( IHandler duplicateHandler, System.StringBuilder message ) : void | ||
CanResolve ( |
||
CreateBurden ( IComponentActivator componentActivator, bool trackedExternally ) : Burden | ||
CreateEmpty ( ) : |
Creates a new, empty CreationContext instance. A new CreationContext should be created every time, as the contexts keeps some state related to dependency resolution. |
|
CreationContext ( IHandler handler, IReleasePolicy releasePolicy, |
Initializes a new instance of the CreationContext class.
|
|
CreationContext ( |
Initializes a new instance of the CreationContext class.
|
|
EnterResolutionContext ( IHandler handlerBeingResolved, bool requiresDecommission ) : ResolutionContext | ||
EnterResolutionContext ( IHandler handlerBeingResolved, bool trackContext, bool requiresDecommission ) : ResolutionContext | ||
ForDependencyInspection ( IHandler handler ) : |
||
GetContextualProperty ( object key ) : object | ||
IsInResolutionContext ( IHandler handler ) : bool |
Method used by handlers to test whether they are being resolved in the context. This method is provided as part of double dispatch mechanism for use by handlers. Outside of handlers, call IHandler.IsBeingResolvedInContext instead. |
|
Resolve ( |
||
SelectScopeRoot ( IHandler>.Func |
||
SetContextualProperty ( object key, object value ) : void |
메소드 | 설명 | |
---|---|---|
CanConvertParameter ( |
||
CanResolve ( |
||
CanResolveByKey ( |
||
CanResolveByType ( |
||
CreationContext ( ) : System |
Initializes a new instance of the CreationContext class.
|
|
EnsureAdditionalArgumentsWriteable ( IDictionary dictionary ) : IDictionary | ||
ExitResolutionContext ( Burden burden, bool trackContext ) : void | ||
ExtractGenericArguments ( |
||
Resolve ( |
public AttachExistingBurden ( Burden burden ) : void | ||
burden | Burden | |
리턴 | void |
public BuildCycleMessageFor ( IHandler duplicateHandler, System.StringBuilder message ) : void | ||
duplicateHandler | IHandler | |
message | System.StringBuilder | |
리턴 | void |
public CanResolve ( |
||
context | ||
contextHandlerResolver | ISubDependencyResolver | |
model | ||
dependency | ||
리턴 | bool |
public CreateBurden ( IComponentActivator componentActivator, bool trackedExternally ) : Burden | ||
componentActivator | IComponentActivator | |
trackedExternally | bool | |
리턴 | Burden |
public CreationContext ( IHandler handler, IReleasePolicy releasePolicy, |
||
handler | IHandler | The handler. |
releasePolicy | IReleasePolicy | The release policy. |
requestedType | The type to extract generic arguments. | |
additionalArguments | IDictionary | The additional arguments. |
converter | ITypeConverter | The conversion manager. |
parent | Parent context | |
리턴 | System |
public CreationContext ( |
||
requestedType | The type to extract generic arguments. | |
parentContext | The parent context. | |
propagateInlineDependencies | bool | When set to |
리턴 | System |
public EnterResolutionContext ( IHandler handlerBeingResolved, bool requiresDecommission ) : ResolutionContext | ||
handlerBeingResolved | IHandler | |
requiresDecommission | bool | |
리턴 | ResolutionContext |
public EnterResolutionContext ( IHandler handlerBeingResolved, bool trackContext, bool requiresDecommission ) : ResolutionContext | ||
handlerBeingResolved | IHandler | |
trackContext | bool | |
requiresDecommission | bool | |
리턴 | ResolutionContext |
public static ForDependencyInspection ( IHandler handler ) : |
||
handler | IHandler | |
리턴 |
public GetContextualProperty ( object key ) : object | ||
key | object | |
리턴 | object |
public IsInResolutionContext ( IHandler handler ) : bool | ||
handler | IHandler | |
리턴 | bool |
public Resolve ( |
||
context | ||
contextHandlerResolver | ISubDependencyResolver | |
model | ||
dependency | ||
리턴 | object |
public SelectScopeRoot ( IHandler>.Func |
||
scopeRootSelector | IHandler>.Func | |
리턴 | ResolutionContext |
public SetContextualProperty ( object key, object value ) : void | ||
key | object | |
value | object | |
리턴 | void |