Class ConfigServerContainerBuilderExtensions
Extension methods for adding services related to Spring Cloud Config Server.
Inheritance
System.Object
ConfigServerContainerBuilderExtensions
Namespace: Steeltoe.Extensions.Configuration.ConfigServer
Assembly: Steeltoe.Extensions.Configuration.ConfigServerAutofac.dll
Syntax
public static class ConfigServerContainerBuilderExtensions : object
Methods
| Edit this page View SourceRegisterConfigServerClientOptions(ContainerBuilder, IConfiguration)
Declaration
public static void RegisterConfigServerClientOptions(this ContainerBuilder container, IConfiguration config)
Parameters
Type | Name | Description |
---|---|---|
ContainerBuilder | container | |
IConfiguration | config |
RegisterConfigServerHealthContributor(ContainerBuilder)
Add the ConfigServerHealthContributor as a IHealthContributor to the container. Note: You also need to add the applications IConfiguration to the container as well.
Declaration
public static void RegisterConfigServerHealthContributor(this ContainerBuilder container)
Parameters
Type | Name | Description |
---|---|---|
ContainerBuilder | container | the autofac container builder |