C# Class Ninject.Planning.Directives.PropertyInjectionDirective

Describes the injection of a property.
Inheritance: IDirective
Show file Open project: ninject/Ninject Class Usage Examples

Public Methods

Method Description
PropertyInjectionDirective ( PropertyInfo member, PropertyInjector injector ) : System.Reflection

Initializes a new instance of the PropertyInjectionDirective class.

Protected Methods

Method Description
CreateTarget ( PropertyInfo propertyInfo ) : ITarget

Creates a target for the property.

Method Details

CreateTarget() protected method

Creates a target for the property.
protected CreateTarget ( PropertyInfo propertyInfo ) : ITarget
propertyInfo System.Reflection.PropertyInfo The property.
return ITarget

PropertyInjectionDirective() public method

Initializes a new instance of the PropertyInjectionDirective class.
public PropertyInjectionDirective ( PropertyInfo member, PropertyInjector injector ) : System.Reflection
member System.Reflection.PropertyInfo The member the directive describes.
injector PropertyInjector The injector that will be triggered.
return System.Reflection