示例#1
0
 public EventDispatcher(
     IProvideEventStoreCloudTable table,
     IProvideCurrentPageIndexes provideCurrentPageIndexes,
     IUpdateCurrentPageIndexes updateCurrentPageIndexes,
     IStreamDispatcherConfiguration configuration)
 {
     _table = table;
     _provideCurrentPageIndexes = provideCurrentPageIndexes;
     _updateCurrentPageIndexes  = updateCurrentPageIndexes;
     _pageSize = configuration.PageSize;
 }
 public EventStoreCloudTableProvider(CloudStorageAccount account, IStreamDispatcherConfiguration configuration)
 {
     _tableName   = configuration.TableName;
     _tableClient = account.CreateCloudTableClient();
 }