Skip to content

AzureQueueStreamConfiguratorExtensions Methods

Extension methods for configuring Azure Queue stream providers.

ConfigureAzureQueue(IAzureQueueStreamConfigurator, Action<OptionsBuilder<AzureQueueOptions>>)

staticextension
View source
public static void ConfigureAzureQueue(this IAzureQueueStreamConfigurator configurator, Action<OptionsBuilder<AzureQueueOptions>> configureOptions)
Configures the Azure Queue storage options for the stream provider.

Parameters

configuratorIAzureQueueStreamConfigurator
The stream provider configurator.
configureOptionsAction<OptionsBuilder<AzureQueueOptions>>
The delegate used to configure the Azure Queue options.

ConfigureQueueDataAdapter(IAzureQueueStreamConfigurator, Func<IServiceProvider, string, IQueueDataAdapter<string, IBatchContainer>>)

staticextension
View source
public static void ConfigureQueueDataAdapter(this IAzureQueueStreamConfigurator configurator, Func<IServiceProvider, string, IQueueDataAdapter<string, IBatchContainer>> factory)
Configures the adapter used to convert between stream batches and Azure Queue messages.

Parameters

configuratorIAzureQueueStreamConfigurator
The stream provider configurator.
factoryFunc<IServiceProvider, string, IQueueDataAdapter<string, IBatchContainer>>
The factory which creates the adapter for the named stream provider.

ConfigureQueueDataAdapter(IAzureQueueStreamConfigurator)

staticextension
View source
public static void ConfigureQueueDataAdapter<TQueueDataAdapter>(this IAzureQueueStreamConfigurator configurator)
Configures the adapter used to convert between stream batches and Azure Queue messages.

Parameters

configuratorIAzureQueueStreamConfigurator
The stream provider configurator.