C# Class FiveUI.Port

Inheritance: IPort
Show file Open project: GaloisInc/FiveUI

Public Methods

Method Description
emit ( string eventType, string data ) : void
on ( string eventType, IDispatch listener ) : void
on ( string eventType, LambdaListener listener ) : void
once ( string eventType, IDispatch listener ) : void
once ( string eventType, LambdaListener listener ) : void
removeListener ( string eventType, IDispatch listener ) : void
removeListener ( string eventType, LambdaListener listener ) : void

Private Methods

Method Description
applyIDispatch ( IDispatch func, string data ) : void
applyListener ( FiveUI.Port.LambdaListener>.System.Tuple listener, string data ) : void
fromIDispatch ( IDispatch listener ) : LambdaListener
on ( string eventType, LambdaListener lambdaList, IDispatch dispList ) : void

Method Details

emit() public method

public emit ( string eventType, string data ) : void
eventType string
data string
return void

on() public method

public on ( string eventType, IDispatch listener ) : void
eventType string
listener IDispatch
return void

on() public method

public on ( string eventType, LambdaListener listener ) : void
eventType string
listener LambdaListener
return void

once() public method

public once ( string eventType, IDispatch listener ) : void
eventType string
listener IDispatch
return void

once() public method

public once ( string eventType, LambdaListener listener ) : void
eventType string
listener LambdaListener
return void

removeListener() public method

public removeListener ( string eventType, IDispatch listener ) : void
eventType string
listener IDispatch
return void

removeListener() public method

public removeListener ( string eventType, LambdaListener listener ) : void
eventType string
listener LambdaListener
return void