Table of Contents

Class AzureCommandQueue<TMarker>

Namespace
Savvyio.Extensions.DependencyInjection.QueueStorage.Commands
Assembly
Savvyio.Extensions.DependencyInjection.QueueStorage.dll

Provides a default implementation of the AzureCommandQueue class that is optimized for Dependency Injection.

public class AzureCommandQueue<TMarker> : AzureCommandQueue, IHealthCheckProvider<QueueServiceClient>, IPointToPointChannel<ICommand, TMarker>, IPointToPointChannel<ICommand>, ISender<ICommand, TMarker>, ISender<ICommand>, IReceiver<ICommand, TMarker>, IReceiver<ICommand>, IDependencyInjectionMarker<TMarker>

Type Parameters

TMarker
Inheritance
AzureCommandQueue<TMarker>
Implements
ISender<ICommand, TMarker>
Inherited Members

Constructors

AzureCommandQueue(IMarshaller, AzureQueueOptions<TMarker>)

Initializes a new instance of the AzureCommandQueue<TMarker> class.

public AzureCommandQueue(IMarshaller marshaller, AzureQueueOptions<TMarker> options)

Parameters

marshaller IMarshaller

The IMarshaller that is used when converting ICommand implementations to messages.

options AzureQueueOptions<TMarker>

The AzureQueueOptions<TMarker> used to configure this instance.

Exceptions

ArgumentNullException

marshaller cannot be null - or - options cannot be null.

ArgumentException

options are not in a valid state.

See Also