C# Класс Ninject.Activation.Context

Contains information about the activation of a single instance.
Наследование: IContext
Показать файл Открыть проект

Открытые методы

Метод Описание
BuildPlan ( Type type ) : void
Context ( IReadOnlyKernel readonlyKernel, IRequest request, IBinding binding, ICache cache, IPlanner planner, IPipeline pipeline ) : System

Initializes a new instance of the Context class.

GetProvider ( ) : IProvider
GetScope ( ) : object
Resolve ( ) : object

Приватные методы

Метод Описание
IsCyclical ( IContext targetContext ) : bool
ResolveInternal ( object scope ) : object

Описание методов

BuildPlan() публичный Метод

public BuildPlan ( Type type ) : void
type System.Type
Результат void

Context() публичный Метод

Initializes a new instance of the Context class.
public Context ( IReadOnlyKernel readonlyKernel, IRequest request, IBinding binding, ICache cache, IPlanner planner, IPipeline pipeline ) : System
readonlyKernel IReadOnlyKernel The kernel managing the resolution.
request IRequest The context's request.
binding IBinding The context's binding.
cache ICache The cache component.
planner IPlanner The planner component.
pipeline IPipeline The pipeline component.
Результат System

GetProvider() публичный Метод

public GetProvider ( ) : IProvider
Результат IProvider

GetScope() публичный Метод

public GetScope ( ) : object
Результат object

Resolve() публичный Метод

public Resolve ( ) : object
Результат object