C# Class CodeSharp.EventSourcing.DefaultSnapshotTypeProvider

Inheritance: ISnapshotTypeProvider
Datei anzeigen Open project: tangxuehua/eventsourcing

Public Methods

Method Description
AddSnspshotType ( Type snapshotType ) : void

添加一个快照类

IsSnapshot ( Type type ) : bool

Private Methods

Method Description
CheckType ( IEnumerable totalTypes, Type typeInterface, Type typeToCheck, Type customizeSnapshotAttributeType, Type defaultSnapshotAttributeType ) : bool
IsTypeHasAttribute ( Type type, Type attribute ) : bool

Method Details

AddSnspshotType() public method

添加一个快照类
public AddSnspshotType ( Type snapshotType ) : void
snapshotType System.Type
return void

IsSnapshot() public method

public IsSnapshot ( Type type ) : bool
type System.Type
return bool