C# Class Prototype.Platform.Dispatching.Dispatcher

Inheritance: IDispatcher
Show file Open project: paralect/prototype

Public Methods

Method Description
Create ( DispatcherConfiguration>.Func configurationAction ) : Dispatcher

Factory method

Dispatch ( Object message ) : void
Dispatch ( Object message, Action exceptionObserver ) : void
Dispatcher ( DispatcherConfiguration configuration ) : System

Initializes a new instance of the T:System.Object class.

InvokeByReflection ( Object handler, Object message ) : void
InvokeDynamic ( Object handler, Object message ) : void

Private Methods

Method Description
ExecuteHandler ( Object handler, Object message, Action exceptionObserver = null ) : void

Method Details

Create() public static method

Factory method
public static Create ( DispatcherConfiguration>.Func configurationAction ) : Dispatcher
configurationAction DispatcherConfiguration>.Func
return Dispatcher

Dispatch() public method

public Dispatch ( Object message ) : void
message Object
return void

Dispatch() public method

public Dispatch ( Object message, Action exceptionObserver ) : void
message Object
exceptionObserver Action
return void

Dispatcher() public method

Initializes a new instance of the T:System.Object class.
public Dispatcher ( DispatcherConfiguration configuration ) : System
configuration DispatcherConfiguration
return System

InvokeByReflection() public method

public InvokeByReflection ( Object handler, Object message ) : void
handler Object
message Object
return void

InvokeDynamic() public method

public InvokeDynamic ( Object handler, Object message ) : void
handler Object
message Object
return void