C# Class CodeSharp.EventSourcing.DefaultSourcableEventTypeProvider

默认的可溯源事件类型提供者
Inheritance: ISourcableEventTypeProvider
Show file Open project: tangxuehua/eventsourcing

Public Methods

Method Description
GetSourcableEventType ( Type aggregateRootType ) : Type
RegisterMappings ( ) : void

Private Methods

Method Description
GetAggregateRootType ( Type sourcableEventType ) : Type
RegisterMapping ( Type aggregateRootType, Type sourcableEventType ) : void

Method Details

GetSourcableEventType() public method

public GetSourcableEventType ( Type aggregateRootType ) : Type
aggregateRootType System.Type
return System.Type

RegisterMappings() public method

public RegisterMappings ( ) : void
return void