C# Класс Ninject.Injection.DynamicMethodInjectorFactory

Creates injectors for members via DynamicMethods.
Наследование: Ninject.Components.NinjectComponent, IInjectorFactory
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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