C# 클래스 Ncqrs.Eventing.Storage.WindowsAzure.AzureEventStore

상속: IEventStore
파일 보기 프로젝트 열기: SzymonPobiega/ncqrs

공개 메소드들

메소드 설명
AzureEventStore ( ) : System
AzureEventStore ( Microsoft.WindowsAzure.CloudStorageAccount storageAccount ) : System
ClearStore ( ) : void
GetAllEvents ( System.Guid eventSourceId ) : IEnumerable

Get all events provided by an specified event provider.

GetAllEventsSinceVersion ( System.Guid eventSourceId, long version ) : IEnumerable
Save ( IEventSource source ) : void

Save all events from a specific event provider.

비공개 메소드들

메소드 설명
DeserializeEventEntity ( SourcedEventEntity sourcedEventEntity ) : SourcedEvent
GetBlobAddress ( SourcedEventEntity sourcedEventEntity ) : string
GetSourceFromStore ( Microsoft.WindowsAzure.StorageClient.TableServiceContext context, System.Guid eventSourceId ) : EventSourceEntity
InitializeStorage ( ) : void
InsertNewEventSource ( Microsoft.WindowsAzure.StorageClient.TableServiceContext context, IEventSource source ) : EventSourceEntity
PushEventToStore ( Microsoft.WindowsAzure.StorageClient.TableServiceContext context, System.Guid eventSourceId, IEnumerable events ) : void

메소드 상세

AzureEventStore() 공개 메소드

public AzureEventStore ( ) : System
리턴 System

AzureEventStore() 공개 메소드

public AzureEventStore ( Microsoft.WindowsAzure.CloudStorageAccount storageAccount ) : System
storageAccount Microsoft.WindowsAzure.CloudStorageAccount
리턴 System

ClearStore() 공개 메소드

public ClearStore ( ) : void
리턴 void

GetAllEvents() 공개 메소드

Get all events provided by an specified event provider.
public GetAllEvents ( System.Guid eventSourceId ) : IEnumerable
eventSourceId System.Guid The id of the event source that owns the events.
리턴 IEnumerable

GetAllEventsSinceVersion() 공개 메소드

public GetAllEventsSinceVersion ( System.Guid eventSourceId, long version ) : IEnumerable
eventSourceId System.Guid
version long
리턴 IEnumerable

Save() 공개 메소드

Save all events from a specific event provider.
Occurs when there is already a newer version of the event provider stored in the event store. source == null
public Save ( IEventSource source ) : void
source IEventSource The source that should be saved.
리턴 void