Метод | Описание | |
---|---|---|
CanResolve ( IRequest request ) : bool |
Determines whether this instance can resolve the specified request.
|
|
CanResolve ( IRequest request, bool ignoreImplicitBindings ) : bool |
Determines whether the specified request can be resolved.
|
|
ContextPreservingResolutionRoot ( ) : System |
Initializes a new instance of the ContextPreservingResolutionRoot class.
|
|
ContextPreservingResolutionRoot ( IContext context ) : System |
Initializes a new instance of the ContextPreservingResolutionRoot class.
|
|
ContextPreservingResolutionRoot ( IContext context, ITarget target ) : System |
Initializes a new instance of the ContextPreservingResolutionRoot class.
|
|
CreateRequest ( |
Creates a request.
|
|
Release ( object instance ) : bool |
Deactivates and releases the specified instance if it is currently managed by Ninject.
|
|
Resolve ( IRequest request ) : IEnumerable |
Resolves the specified request.
|
Метод | Описание | |
---|---|---|
DefineParentContext ( IContext context, ITarget target ) : void |
Defines the parent context.
|
public CanResolve ( IRequest request ) : bool | ||
request | IRequest | The request. |
Результат | bool |
public CanResolve ( IRequest request, bool ignoreImplicitBindings ) : bool | ||
request | IRequest | The request. |
ignoreImplicitBindings | bool | if set to |
Результат | bool |
public ContextPreservingResolutionRoot ( ) : System | ||
Результат | System |
public ContextPreservingResolutionRoot ( IContext context ) : System | ||
context | IContext | The parent context. |
Результат | System |
public ContextPreservingResolutionRoot ( IContext context, ITarget target ) : System | ||
context | IContext | The parent context. |
target | ITarget | The parent target. |
Результат | System |
public CreateRequest ( |
||
service | The service. | |
constraint | bool>.Func | The constraint. |
parameters | IEnumerable |
The parameters. |
isOptional | bool | if set to |
isUnique | bool | if set to |
Результат | IRequest |
public Release ( object instance ) : bool | ||
instance | object | The instance to release. |
Результат | bool |
public Resolve ( IRequest request ) : IEnumerable | ||
request | IRequest | The request. |
Результат | IEnumerable |