ClientBuilder.ConfigureAppConfiguration 方法

定义

为生成过程和应用程序的其余部分设置配置。 可多次进行调用,并累加结果。 结果将可用于Configuration后续操作。/。>

public Orleans.IClientBuilder ConfigureAppConfiguration (Action<Orleans.Hosting.HostBuilderContext,Microsoft.Extensions.Configuration.IConfigurationBuilder> configureDelegate);
abstract member ConfigureAppConfiguration : Action<Orleans.Hosting.HostBuilderContext, Microsoft.Extensions.Configuration.IConfigurationBuilder> -> Orleans.IClientBuilder
override this.ConfigureAppConfiguration : Action<Orleans.Hosting.HostBuilderContext, Microsoft.Extensions.Configuration.IConfigurationBuilder> -> Orleans.IClientBuilder
Public Function ConfigureAppConfiguration (configureDelegate As Action(Of HostBuilderContext, IConfigurationBuilder)) As IClientBuilder

参数

configureDelegate
Action<HostBuilderContext,IConfigurationBuilder>

配置将用于构造应用程序的 IConfigurationIConfigurationBuilder 的委托。

返回

用于链接的主机生成器的同一实例。

实现

适用于