C# Class Ninject.Planning.Planner

Generates plans for how to activate instances.
Inheritance: Ninject.Components.NinjectComponent, IPlanner
ファイルを表示 Open project: ninject/Ninject

Public Methods

Method Description
GetPlan ( Type type ) : IPlan

Gets or creates an activation plan for the specified type.

Planner ( IEnumerable strategies ) : System

Initializes a new instance of the Planner class.

Protected Methods

Method Description
CreateEmptyPlan ( Type type ) : IPlan

Creates an empty plan for the specified type.

Private Methods

Method Description
CreateNewPlan ( Type type ) : IPlan

Creates a new plan for the specified type. This method requires an active reader lock!

Method Details

CreateEmptyPlan() protected method

Creates an empty plan for the specified type.
protected CreateEmptyPlan ( Type type ) : IPlan
type System.Type The type for which a plan should be created.
return IPlan

GetPlan() public method

Gets or creates an activation plan for the specified type.
public GetPlan ( Type type ) : IPlan
type System.Type The type for which a plan should be created.
return IPlan

Planner() public method

Initializes a new instance of the Planner class.
public Planner ( IEnumerable strategies ) : System
strategies IEnumerable The strategies to execute during planning.
return System