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
- builderIHostApplicationBuilder
- The 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
- builderIHostApplicationBuilder
- The IHostApplicationBuilder 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
- 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
- builderIHostApplicationBuilder
- The 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
- builderIHostApplicationBuilder
- The IHostApplicationBuilder 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
- IHostApplicationBuilder
- The incoming - builderso that additional calls can be chained.