C# Class CodeSharp.EventSourcing.DefaultEventTypeProvider

默认的事件类型提供者
Inheritance: IEventTypeProvider
Show file Open project: tangxuehua/eventsourcing

Public Methods

Method Description
AddNotifyEventType ( Type eventType ) : void
AddSourcableEventType ( Type eventType ) : void
IsNotityEvent ( Type eventType ) : bool
IsSourcableEvent ( Type eventType ) : bool

Private Methods

Method Description
CheckEventType ( IEnumerable totalTypes, Type typeInterface, Type typeToCheck, Type customizeEventAttributeType, Type defaultEventAttributeType ) : bool
IsEventTypeHasAttribute ( Type type, Type eventAttribute ) : bool

Method Details

AddNotifyEventType() public method

public AddNotifyEventType ( Type eventType ) : void
eventType System.Type
return void

AddSourcableEventType() public method

public AddSourcableEventType ( Type eventType ) : void
eventType System.Type
return void

IsNotityEvent() public method

public IsNotityEvent ( Type eventType ) : bool
eventType System.Type
return bool

IsSourcableEvent() public method

public IsSourcableEvent ( Type eventType ) : bool
eventType System.Type
return bool