Class HostBuilderExtensions
Inheritance
Namespace: Steeltoe.Bootstrap.AutoConfiguration
Assembly: Steeltoe.Bootstrap.AutoConfiguration.dll
Syntax
public static class HostBuilderExtensions : object
Methods
| Edit this page View SourceAddSteeltoe(IHostBuilder)
Automatically configures Steeltoe packages that have been added to your project as NuGet references.
Declaration
public static IHostBuilder AddSteeltoe(this IHostBuilder builder)
Parameters
Type | Name | Description |
---|---|---|
IHostBuilder | builder | The |
Returns
Type | Description |
---|---|
IHostBuilder | The incoming |
AddSteeltoe(IHostBuilder, ILoggerFactory)
Automatically configures Steeltoe packages that have been added to your project as NuGet references.
Declaration
public static IHostBuilder AddSteeltoe(this IHostBuilder builder, ILoggerFactory loggerFactory)
Parameters
Type | Name | Description |
---|---|---|
IHostBuilder | builder | The |
ILoggerFactory | loggerFactory | Used for internal logging. Pass |
Returns
Type | Description |
---|---|
IHostBuilder | The incoming |
AddSteeltoe(IHostBuilder, IReadOnlySet<String>)
Automatically configures Steeltoe packages that have been added to your project as NuGet references.
Declaration
public static IHostBuilder AddSteeltoe(this IHostBuilder builder, IReadOnlySet<string> assemblyNamesToExclude)
Parameters
Type | Name | Description |
---|---|---|
IHostBuilder | builder | The |
IReadOnlySet<System.String> | assemblyNamesToExclude | The set of assembly names to exclude from autoconfiguration. For ease of use, select from the constants in SteeltoeAssemblyNames. |
Returns
Type | Description |
---|---|
IHostBuilder | The incoming |
AddSteeltoe(IHostBuilder, IReadOnlySet<String>, ILoggerFactory)
Automatically configures Steeltoe packages that have been added to your project as NuGet references.
Declaration
public static IHostBuilder AddSteeltoe(this IHostBuilder builder, IReadOnlySet<string> assemblyNamesToExclude, ILoggerFactory loggerFactory)
Parameters
Type | Name | Description |
---|---|---|
IHostBuilder | builder | The |
IReadOnlySet<System.String> | assemblyNamesToExclude | The set of assembly names to exclude from autoconfiguration. For ease of use, select from the constants in SteeltoeAssemblyNames. |
ILoggerFactory | loggerFactory | Used for internal logging. Pass |
Returns
Type | Description |
---|---|
IHostBuilder | The incoming |