C# Class TastyDomainDriven.Azure.AzureBlob.AzureAsyncAppender

Inheritance: IAppendOnlyAsync
Afficher le fichier Open project: jaceenet/TastyDomainDriven Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

Append() public méthode

public Append ( string streamName, byte data, long expectedStreamVersion = -1 ) : System.Threading.Tasks.Task
streamName string
data byte
expectedStreamVersion long
Résultat System.Threading.Tasks.Task

AzureAsyncAppender() public méthode

public AzureAsyncAppender ( Microsoft.WindowsAzure.Storage.CloudStorageAccount storage, string container, AzureBlobAppenderOptions options = null ) : System
storage Microsoft.WindowsAzure.Storage.CloudStorageAccount
container string
options AzureBlobAppenderOptions
Résultat System

AzureAsyncAppender() public méthode

public AzureAsyncAppender ( string connection, string container, AzureBlobAppenderOptions options = null ) : System
connection string
container string
options AzureBlobAppenderOptions
Résultat System

Initialize() public méthode

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
Résultat System.Threading.Tasks.Task

ReadRecords() public méthode

public ReadRecords ( long afterVersion, int maxCount ) : Task
afterVersion long
maxCount int
Résultat Task

ReadRecords() public méthode

public ReadRecords ( string streamName, long afterVersion, int maxCount ) : Task
streamName string
afterVersion long
maxCount int
Résultat Task