C# Class CQRSlite.Snapshots.DefaultSnapshotStrategy

Inheritance: ISnapshotStrategy
Exibir arquivo Open project: gautema/CQRSlite Class Usage Examples

Public Methods

Method Description
IsSnapshotable ( Type aggregateType ) : bool
ShouldMakeSnapShot ( AggregateRoot aggregate ) : bool

Method Details

IsSnapshotable() public method

public IsSnapshotable ( Type aggregateType ) : bool
aggregateType System.Type
return bool

ShouldMakeSnapShot() public method

public ShouldMakeSnapShot ( AggregateRoot aggregate ) : bool
aggregate CQRSlite.Domain.AggregateRoot
return bool