C# Class BlingBag.BlingDispatcherBase

Inheritance: IBlingDispatcher
ファイルを表示 Open project: bsommardahl/BlingBag

Public Methods

Method Description
Dispatch ( object @event ) : System.Threading.Tasks.Task

Protected Methods

Method Description
FindHandlers ( object @event ) : IEnumerable
LogException ( object handler, System.DateTime timeStamp, Exception exception ) : void
LogInfo ( object handler, System.DateTime timeStamp, string message ) : void

Private Methods

Method Description
InvokeMethod ( string methodName, object invokableObject, object methodArg ) : System.Threading.Tasks.Task

Method Details

Dispatch() public method

public Dispatch ( object @event ) : System.Threading.Tasks.Task
@event object
return System.Threading.Tasks.Task

FindHandlers() protected abstract method

protected abstract FindHandlers ( object @event ) : IEnumerable
@event object
return IEnumerable

LogException() protected abstract method

protected abstract LogException ( object handler, System.DateTime timeStamp, Exception exception ) : void
handler object
timeStamp System.DateTime
exception System.Exception
return void

LogInfo() protected abstract method

protected abstract LogInfo ( object handler, System.DateTime timeStamp, string message ) : void
handler object
timeStamp System.DateTime
message string
return void