C# Class CommonEventHandler.EventHandlerFactory.EventHandlerTypeEmitter

Datei anzeigen Open project: royosherove/aout1

Public Methods

Method Description
EventHandlerTypeEmitter ( string Name ) : System

Constructor

GetEventHandlerType ( EventInfo Info ) : Type

Emits dynamically a event handler with a given signature, which fills all arguments of the event in an object array and calls a common event.

Private Methods

Method Description
EmitHelperClass ( string HandlerName, EventInfo Info ) : Type

Method Details

EventHandlerTypeEmitter() public method

Constructor
public EventHandlerTypeEmitter ( string Name ) : System
Name string
return System

GetEventHandlerType() public method

Emits dynamically a event handler with a given signature, which fills all arguments of the event in an object array and calls a common event.
public GetEventHandlerType ( EventInfo Info ) : Type
Info System.Reflection.EventInfo
return System.Type