C# Class AttachedCommandBehavior.EventHandlerGenerator

Generates delegates according to the specified signature on runtime
Afficher le fichier Open project: dotob/moni Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

CreateDelegate() public static méthode

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
Résultat System.Delegate