C# 클래스 TastyDomainDriven.Azure.AzureBlob.AzureAsyncAppender

상속: IAppendOnlyAsync
파일 보기 프로젝트 열기: jaceenet/TastyDomainDriven 1 사용 예제들

공개 메소드들

메소드 설명
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