Class HostApplicationBuilderExtensions
- Namespace
- Steeltoe.Bootstrap.AutoConfiguration
- Assembly
- Steeltoe.Bootstrap.AutoConfiguration.dll
public static class HostApplicationBuilderExtensions
- Inheritance
-
HostApplicationBuilderExtensions
- Inherited Members
Methods
AddSteeltoe(IHostApplicationBuilder)
Automatically configures Steeltoe packages that have been added to your project as NuGet references.
public static IHostApplicationBuilder AddSteeltoe(this IHostApplicationBuilder builder)
Parameters
builderIHostApplicationBuilderThe IHostApplicationBuilder to configure.
Returns
- IHostApplicationBuilder
The incoming
builderso that additional calls can be chained.
AddSteeltoe(IHostApplicationBuilder, ILoggerFactory)
Automatically configures Steeltoe packages that have been added to your project as NuGet references.
public static IHostApplicationBuilder AddSteeltoe(this IHostApplicationBuilder builder, ILoggerFactory loggerFactory)
Parameters
builderIHostApplicationBuilderThe IHostApplicationBuilder to configure.
loggerFactoryILoggerFactoryUsed for internal logging. Pass Instance to disable logging, or use BootstrapLoggerFactory to write only to the console until logging is fully initialized.
Returns
- IHostApplicationBuilder
The incoming
builderso that additional calls can be chained.
AddSteeltoe(IHostApplicationBuilder, IReadOnlySet<string>)
Automatically configures Steeltoe packages that have been added to your project as NuGet references.
public static IHostApplicationBuilder AddSteeltoe(this IHostApplicationBuilder builder, IReadOnlySet<string> assemblyNamesToExclude)
Parameters
builderIHostApplicationBuilderThe IHostApplicationBuilder to configure.
assemblyNamesToExcludeIReadOnlySet<string>The set of assembly names to exclude from autoconfiguration. For ease of use, select from the constants in SteeltoeAssemblyNames.
Returns
- IHostApplicationBuilder
The incoming
builderso that additional calls can be chained.
AddSteeltoe(IHostApplicationBuilder, IReadOnlySet<string>, ILoggerFactory)
Automatically configures Steeltoe packages that have been added to your project as NuGet references.
public static IHostApplicationBuilder AddSteeltoe(this IHostApplicationBuilder builder, IReadOnlySet<string> assemblyNamesToExclude, ILoggerFactory loggerFactory)
Parameters
builderIHostApplicationBuilderThe IHostApplicationBuilder to configure.
assemblyNamesToExcludeIReadOnlySet<string>The set of assembly names to exclude from autoconfiguration. For ease of use, select from the constants in SteeltoeAssemblyNames.
loggerFactoryILoggerFactoryUsed for internal logging. Pass Instance to disable logging, or use BootstrapLoggerFactory to write only to the console until logging is fully initialized.
Returns
- IHostApplicationBuilder
The incoming
builderso that additional calls can be chained.