C# Class CodeSharp.EventSourcing.DefaultAggregateRootInternalHandlerProvider

默认的聚合根可溯源事件内部处理函数元数据提供者
Inheritance: IAggregateRootInternalHandlerProvider
Show file Open project: tangxuehua/eventsourcing

Public Methods

Method Description
GetInternalEventHandler ( Type aggregateRootType, Type eventType ) : object>.Action
RegisterInternalHandler ( Type aggregateRootType, Type eventType, MethodInfo eventHandler ) : void
RegisterInternalHandlers ( ) : void

Method Details

GetInternalEventHandler() public method

public GetInternalEventHandler ( Type aggregateRootType, Type eventType ) : object>.Action
aggregateRootType System.Type
eventType System.Type
return object>.Action

RegisterInternalHandler() public method

public RegisterInternalHandler ( Type aggregateRootType, Type eventType, MethodInfo eventHandler ) : void
aggregateRootType System.Type
eventType System.Type
eventHandler System.Reflection.MethodInfo
return void

RegisterInternalHandlers() public method

public RegisterInternalHandlers ( ) : void
return void