protected override ISnapshot GetSnapshot <TAggregate>(string bucketId, IIdentity id, int version) { if (SnapshotsSettings.HasOptedOut(typeof(TAggregate))) { return(null); } return(SnapshotManager.Load(id.AsString(), version, typeof(TAggregate))); }
protected override ISnapshot GetSnapshot <TAggregate>(string bucketId, IIdentity id, int version) { if (SnapshotsSettings.HasOptedOut(typeof(TAggregate))) { return(null); } return(base.GetSnapshot <TAggregate>(bucketId, id, version)); }