C# Класс Ncqrs.Eventing.Storage.WindowsAzure.AzureEventStore

Наследование: IEventStore
Показать файл Открыть проект

Открытые методы

Метод Описание
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