C# Класс TastyDomainDriven.Azure.AzureBlob.AzureAsyncAppender

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

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

Метод Описание
Append ( string streamName, byte data, long expectedStreamVersion = -1 ) : System.Threading.Tasks.Task
AzureAsyncAppender ( Microsoft.WindowsAzure.Storage.CloudStorageAccount storage, string container, AzureBlobAppenderOptions options = null ) : System
AzureAsyncAppender ( string connection, string container, AzureBlobAppenderOptions options = null ) : System
Initialize ( ) : System.Threading.Tasks.Task

Initialize the appender on the Azure Container. This is a once only. When this code is run, you don't need to do it anymore. Create the container and the index file.

ReadRecords ( long afterVersion, int maxCount ) : Task
ReadRecords ( string streamName, long afterVersion, int maxCount ) : Task

Описание методов

Append() публичный Метод

public Append ( string streamName, byte data, long expectedStreamVersion = -1 ) : System.Threading.Tasks.Task
streamName string
data byte
expectedStreamVersion long
Результат System.Threading.Tasks.Task

AzureAsyncAppender() публичный Метод

public AzureAsyncAppender ( Microsoft.WindowsAzure.Storage.CloudStorageAccount storage, string container, AzureBlobAppenderOptions options = null ) : System
storage Microsoft.WindowsAzure.Storage.CloudStorageAccount
container string
options AzureBlobAppenderOptions
Результат System

AzureAsyncAppender() публичный Метод

public AzureAsyncAppender ( string connection, string container, AzureBlobAppenderOptions options = null ) : System
connection string
container string
options AzureBlobAppenderOptions
Результат System

Initialize() публичный Метод

Initialize the appender on the Azure Container. This is a once only. When this code is run, you don't need to do it anymore. Create the container and the index file.
public Initialize ( ) : System.Threading.Tasks.Task
Результат System.Threading.Tasks.Task

ReadRecords() публичный Метод

public ReadRecords ( long afterVersion, int maxCount ) : Task
afterVersion long
maxCount int
Результат Task

ReadRecords() публичный Метод

public ReadRecords ( string streamName, long afterVersion, int maxCount ) : Task
streamName string
afterVersion long
maxCount int
Результат Task