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