Method | Description | |
---|---|---|
AddContextualProperty ( object key, object value ) : void | ||
CanResolve ( |
||
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 ) : ResolutionContext | ||
EnterResolutionContext ( IHandler handlerBeingResolved, bool createBurden ) : ResolutionContext | ||
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 ( |
Method | Description | |
---|---|---|
CanResolve ( |
||
CanResolveByKey ( |
||
CanResolveByType ( |
||
CreationContext ( ) : System |
Initializes a new instance of the CreationContext class.
|
|
EnsureAdditionalArgumentsWriteable ( IDictionary dictionary ) : IDictionary | ||
ExitResolutionContext ( Burden burden ) : void | ||
ExtractGenericArguments ( |
public AddContextualProperty ( object key, object value ) : void | ||
key | object | |
value | object | |
return | void |
public CanResolve ( |
||
context | ||
contextHandlerResolver | ISubDependencyResolver | |
model | ||
dependency | ||
return | bool |
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. |
conversionManager | ITypeConverter | The conversion manager. |
parent | Parent context | |
return | System |
public CreationContext ( |
||
requestedType | The type to extract generic arguments. | |
parentContext | The parent context. | |
propagateInlineDependencies | bool | When set to |
return | System |
public EnterResolutionContext ( IHandler handlerBeingResolved ) : ResolutionContext | ||
handlerBeingResolved | IHandler | |
return | ResolutionContext |
public EnterResolutionContext ( IHandler handlerBeingResolved, bool createBurden ) : ResolutionContext | ||
handlerBeingResolved | IHandler | |
createBurden | bool | |
return | ResolutionContext |
public GetContextualProperty ( object key ) : object | ||
key | object | |
return | object |
public IsInResolutionContext ( IHandler handler ) : bool | ||
handler | IHandler | |
return | bool |
public Resolve ( |
||
context | ||
contextHandlerResolver | ISubDependencyResolver | |
model | ||
dependency | ||
return | object |