C# Class GLSharp.Core.Event

Faster implementation than the Script# one.
Datei anzeigen Open project: colin-dumitru/GLSharp

Public Methods

Method Description
Event ( ) : System
Fire ( Object sender, Object args ) : void
Subscribe ( EventHandler handler, Nullable unique ) : void
Unsubscribe ( EventHandler handler ) : void

Private Methods

Method Description
MethodsEqual ( EventHandler m1, EventHandler m2 ) : System.Boolean

Method Details

Event() public method

public Event ( ) : System
return System

Fire() public method

public Fire ( Object sender, Object args ) : void
sender Object
args Object
return void

Subscribe() public method

public Subscribe ( EventHandler handler, Nullable unique ) : void
handler EventHandler
unique Nullable
return void

Unsubscribe() public method

public Unsubscribe ( EventHandler handler ) : void
handler EventHandler
return void