public WhingePoolConfiguration(IAzureStorageConfiguration azureStorageConfiguration,
                                ICommandHandlerConfiguration commandHandlerConfiguration,
                                ICloudRunnerConfiguration commandQueue,
                                IWhingePoolConfiguration whingePoolConfiguration)
 {
     StorageAccount = azureStorageConfiguration.StorageAccount;
     StorageAccountKey = azureStorageConfiguration.StorageAccountKey;
     RegisteredCommandHandlersBlobContainerName = commandHandlerConfiguration.RegisteredCommandHandlersBlobContainerName;
     RegisteredCommandHandlersTableName = commandHandlerConfiguration.RegisteredCommandHandlersTableName;
     CommandResultsTableName = commandQueue.CommandResultsTableName;
     CommandQueueName = commandQueue.CommandQueueName;
     WhingesTableName = whingePoolConfiguration.WhingesTableName;
     WhingersTableName = whingePoolConfiguration.WhingersTableName;
     WhingePoolsTableName = whingePoolConfiguration.WhingePoolsTableName;
     WhingesByWhingerTableName = whingePoolConfiguration.WhingesByWhingerTableName;
     WhingesByWhingePoolTableName = whingePoolConfiguration.WhingesByWhingePoolTableName;
 }
Example #2
0
 public WhingePoolConfiguration(IAzureStorageConfiguration azureStorageConfiguration,
                                ICommandHandlerConfiguration commandHandlerConfiguration,
                                ICloudRunnerConfiguration commandQueue,
                                IWhingePoolConfiguration whingePoolConfiguration)
 {
     StorageAccount    = azureStorageConfiguration.StorageAccount;
     StorageAccountKey = azureStorageConfiguration.StorageAccountKey;
     RegisteredCommandHandlersBlobContainerName = commandHandlerConfiguration.RegisteredCommandHandlersBlobContainerName;
     RegisteredCommandHandlersTableName         = commandHandlerConfiguration.RegisteredCommandHandlersTableName;
     CommandResultsTableName      = commandQueue.CommandResultsTableName;
     CommandQueueName             = commandQueue.CommandQueueName;
     WhingesTableName             = whingePoolConfiguration.WhingesTableName;
     WhingersTableName            = whingePoolConfiguration.WhingersTableName;
     WhingePoolsTableName         = whingePoolConfiguration.WhingePoolsTableName;
     WhingesByWhingerTableName    = whingePoolConfiguration.WhingesByWhingerTableName;
     WhingesByWhingePoolTableName = whingePoolConfiguration.WhingesByWhingePoolTableName;
 }
 public void GivenADynamicCommandHandlerConfigurationOf(Table table)
 {
     _commandHandlerConfiguration = table.CreateInstance<WhingePoolConfiguration>();
 }
Example #4
0
 public void GivenADynamicCommandHandlerConfigurationOf(Table table)
 {
     _commandHandlerConfiguration = table.CreateInstance <WhingePoolConfiguration>();
 }