C# Class Ninject.Injection.ReflectionInjectorFactory

Creates injectors from members via reflective invocation.
Inheritance: Ninject.Components.NinjectComponent, IInjectorFactory
ファイルを表示 Open project: ninject/Ninject

Public Methods

Method Description
Create ( ConstructorInfo constructor ) : ConstructorInjector

Gets or creates an injector for the specified constructor.

Create ( MethodInfo method ) : MethodInjector

Gets or creates an injector for the specified method.

Create ( PropertyInfo property ) : PropertyInjector

Gets or creates an injector for the specified property.

Method Details

Create() public method

Gets or creates an injector for the specified constructor.
public Create ( ConstructorInfo constructor ) : ConstructorInjector
constructor System.Reflection.ConstructorInfo The constructor.
return ConstructorInjector

Create() public method

Gets or creates an injector for the specified method.
public Create ( MethodInfo method ) : MethodInjector
method System.Reflection.MethodInfo The method.
return MethodInjector

Create() public method

Gets or creates an injector for the specified property.
public Create ( PropertyInfo property ) : PropertyInjector
property System.Reflection.PropertyInfo The property.
return PropertyInjector