C# Класс AttachedCommandBehavior.EventHandlerGenerator

Generates delegates according to the specified signature on runtime
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
CreateDelegate ( Type eventHandlerType, MethodInfo methodToInvoke, object methodInvoker ) : Delegate

Generates a delegate with a matching signature of the supplied eventHandlerType This method only supports Events that have a delegate of type void

Описание методов

CreateDelegate() публичный статический Метод

Generates a delegate with a matching signature of the supplied eventHandlerType This method only supports Events that have a delegate of type void
public static CreateDelegate ( Type eventHandlerType, MethodInfo methodToInvoke, object methodInvoker ) : Delegate
eventHandlerType System.Type
methodToInvoke System.Reflection.MethodInfo The method to invoke
methodInvoker object The object where the method resides
Результат System.Delegate