FileSystem_IHostBuilderExtensions

A set of extension methods that make it easy to register SimpleMessageBus with a DI container.

Syntax

public static class FileSystem_IHostBuilderExtensions

Inheritance

Methods

UseFileSystemQueueProcessor

public static IHostBuilder UseFileSystemQueueProcessor(this IHostBuilder builder, Action<FileSystemOptions> fileSystemOptions)
Configures SimpleMessageBus to use the local file system as the backing queue and registers the with the DI container.

Parameters

  • builder IHostBuilder: The instance to extend.
  • fileSystemOptions Action<FileSystemOptions>: An that gives you a fluent interface for configuring the options for a queue backed by the file system..

Returns

IHostBuilder The instance being configured, for fluent interaction.

UseFileSystemQueueProcessor

public static IHostBuilder UseFileSystemQueueProcessor(this IHostBuilder builder)
Configures SimpleMessageBus to use the local file system as the backing queue and registers the with the DI container.

Parameters

Returns

IHostBuilder The instance being configured, for fluent interaction.