C# Class Ninject.Activation.Context

Contains information about the activation of a single instance.
Inheritance: IContext
Show file Open project: ninject/Ninject

Public Methods

Method Description
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

Private Methods

Method Description
IsCyclical ( IContext targetContext ) : bool
ResolveInternal ( object scope ) : object

Method Details

BuildPlan() public method

public BuildPlan ( Type type ) : void
type System.Type
return void

Context() public method

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.
return System

GetProvider() public method

public GetProvider ( ) : IProvider
return IProvider

GetScope() public method

public GetScope ( ) : object
return object

Resolve() public method

public Resolve ( ) : object
return object