C# Class Sym.EventsManager.MsgEventsContainer

消息事件管理器
Exibir arquivo Open project: GISMaster/MsgEvent

Public Methods

Method Description
AddListener ( string msgType, EventHandler func, object _receiver, bool isOnce ) : void
GetAllProvider ( string msgType ) : MsgEventProvider
MsgEventsContainer ( ) : System
RemoveListener ( string msgType, EventHandler func, object _receiver ) : void
Run ( Object sender, MsgEventArgs args ) : void

Method Details

AddListener() public method

public AddListener ( string msgType, EventHandler func, object _receiver, bool isOnce ) : void
msgType string
func EventHandler
_receiver object
isOnce bool
return void

GetAllProvider() public method

public GetAllProvider ( string msgType ) : MsgEventProvider
msgType string
return MsgEventProvider

MsgEventsContainer() public method

public MsgEventsContainer ( ) : System
return System

RemoveListener() public method

public RemoveListener ( string msgType, EventHandler func, object _receiver ) : void
msgType string
func EventHandler
_receiver object
return void

Run() public method

public Run ( Object sender, MsgEventArgs args ) : void
sender Object
args MsgEventArgs
return void