C# 클래스 AttachedCommandBehavior.EventHandlerGenerator

Generates delegates according to the specified signature on runtime
파일 보기 프로젝트 열기: dotob/moni 1 사용 예제들

공개 메소드들

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