Class CloudQueueExtensions
Inheritance
System.Object
CloudQueueExtensions
Namespace: AzureFromTheTrenches.Commanding.AzureStorage
Assembly: AzureFromTheTrenches.Commanding.AzureStorage.dll
Syntax
public static class CloudQueueExtensions : object
Methods
| Improve this Doc View SourceCreateCommandDispatcher(CloudQueue, IAzureStorageQueueSerializer)
Creates an Azure storagequeue dispatcher
Declaration
public static ICommandDispatcher CreateCommandDispatcher(this CloudQueue queue, IAzureStorageQueueSerializer serializer = null)
Parameters
Type | Name | Description |
---|---|---|
CloudQueue | queue | The queue to dispatch the command to |
IAzureStorageQueueSerializer | serializer | (Optional) Serializer to use, if not specified the default json serializer will be used |
Returns
Type | Description |
---|---|
ICommandDispatcher |
CreateCommandDispatcherFactory(CloudQueue, IAzureStorageQueueSerializer)
Creates an Azure storagequeue dispatcher
Declaration
public static Func<ICommandDispatcher> CreateCommandDispatcherFactory(this CloudQueue queue, IAzureStorageQueueSerializer serializer = null)
Parameters
Type | Name | Description |
---|---|---|
CloudQueue | queue | The queue to dispatch the command to |
IAzureStorageQueueSerializer | serializer | (Optional) Serializer to use, if not specified the default json serializer will be used |
Returns
Type | Description |
---|---|
Func<ICommandDispatcher> |