C# 클래스 Ninject.Injection.DynamicMethodInjectorFactory

Creates injectors for members via DynamicMethods.
상속: Ninject.Components.NinjectComponent, IInjectorFactory
파일 보기 프로젝트 열기: ninject/Ninject 1 사용 예제들

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
EmitLoadMethodArguments ( ILGenerator il, MethodBase targetMethod ) : void
EmitMethodCall ( ILGenerator il, MethodInfo method ) : void
EmitUnboxOrCast ( ILGenerator il, Type type ) : void
GetAnonymousMethodName ( ) : string

메소드 상세

Create() 공개 메소드

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

Create() 공개 메소드

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

Create() 공개 메소드

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