C# Class Eventing.FileSystemEventStore

Inheritance: IExplorableEventStore
Afficher le fichier Open project: phillipknauss/CqrsSiteEngine

Méthodes publiques

Méthode Description
FileSystemEventStore ( string basePath ) : System
GetAllEvents ( System.Guid id ) : IEnumerable
GetAllEventsSinceVersion ( System.Guid id, long version ) : IEnumerable
GetEventSourceIndex ( ) : IEnumerable
ReadFrom ( System.Guid id, long minVersion, long maxVersion ) : CommittedEventStream
RemoveEmptyEventSource ( System.Guid id ) : void
Store ( UncommittedEventStream eventStream ) : void
StoreEmptyEventSource ( System.Guid id ) : void

Méthodes protégées

Méthode Description
GetSourcePath ( IEventSource source ) : string

Method Details

FileSystemEventStore() public méthode

public FileSystemEventStore ( string basePath ) : System
basePath string
Résultat System

GetAllEvents() public méthode

public GetAllEvents ( System.Guid id ) : IEnumerable
id System.Guid
Résultat IEnumerable

GetAllEventsSinceVersion() public méthode

public GetAllEventsSinceVersion ( System.Guid id, long version ) : IEnumerable
id System.Guid
version long
Résultat IEnumerable

GetEventSourceIndex() public méthode

public GetEventSourceIndex ( ) : IEnumerable
Résultat IEnumerable

GetSourcePath() protected méthode

protected GetSourcePath ( IEventSource source ) : string
source IEventSource
Résultat string

ReadFrom() public méthode

public ReadFrom ( System.Guid id, long minVersion, long maxVersion ) : CommittedEventStream
id System.Guid
minVersion long
maxVersion long
Résultat CommittedEventStream

RemoveEmptyEventSource() public méthode

public RemoveEmptyEventSource ( System.Guid id ) : void
id System.Guid
Résultat void

Store() public méthode

public Store ( UncommittedEventStream eventStream ) : void
eventStream UncommittedEventStream
Résultat void

StoreEmptyEventSource() public méthode

public StoreEmptyEventSource ( System.Guid id ) : void
id System.Guid
Résultat void