C# Class Ninject.Selection.Selector

Selects members for injection.
Inheritance: Ninject.Components.NinjectComponent, ISelector
ファイルを表示 Open project: ninject/Ninject

Public Methods

Method Description
SelectConstructorsForInjection ( Type type ) : IEnumerable

Selects the constructor to call on the specified type, by using the constructor scorer.

SelectMethodsForInjection ( Type type ) : IEnumerable

Selects methods that should be injected.

SelectPropertiesForInjection ( Type type ) : IEnumerable

Selects properties that should be injected.

Selector ( IConstructorScorer constructorScorer, IEnumerable injectionHeuristics ) : System

Initializes a new instance of the Selector class.

Private Methods

Method Description
GetPrivateProperties ( Type type ) : IEnumerable

Method Details

SelectConstructorsForInjection() public method

Selects the constructor to call on the specified type, by using the constructor scorer.
public SelectConstructorsForInjection ( Type type ) : IEnumerable
type System.Type The type.
return IEnumerable

SelectMethodsForInjection() public method

Selects methods that should be injected.
public SelectMethodsForInjection ( Type type ) : IEnumerable
type System.Type The type.
return IEnumerable

SelectPropertiesForInjection() public method

Selects properties that should be injected.
public SelectPropertiesForInjection ( Type type ) : IEnumerable
type System.Type The type.
return IEnumerable

Selector() public method

Initializes a new instance of the Selector class.
public Selector ( IConstructorScorer constructorScorer, IEnumerable injectionHeuristics ) : System
constructorScorer IConstructorScorer The constructor scorer.
injectionHeuristics IEnumerable The injection heuristics.
return System