TestClusterExtensions.GetConfigurationValue 方法

定义

重载

GetConfigurationValue(IHostBuilder, String)

获取配置值。

GetConfigurationValue(ISiloBuilder, String)
GetConfigurationValue(ISiloHostBuilder, String)

GetConfigurationValue(IHostBuilder, String)

获取配置值。

public static string GetConfigurationValue (this Microsoft.Extensions.Hosting.IHostBuilder hostBuilder, string key);
static member GetConfigurationValue : Microsoft.Extensions.Hosting.IHostBuilder * string -> string
<Extension()>
Public Function GetConfigurationValue (hostBuilder As IHostBuilder, key As String) As String

参数

hostBuilder
IHostBuilder

主机生成器。

key
String

键。

返回

配置值。

适用于

GetConfigurationValue(ISiloBuilder, String)

Source:
TestClusterExtensions.cs
public static string GetConfigurationValue (this Orleans.Hosting.ISiloBuilder hostBuilder, string key);
static member GetConfigurationValue : Orleans.Hosting.ISiloBuilder * string -> string
<Extension()>
Public Function GetConfigurationValue (hostBuilder As ISiloBuilder, key As String) As String

参数

hostBuilder
ISiloBuilder
key
String

返回

适用于

GetConfigurationValue(ISiloHostBuilder, String)

Source:
TestClusterExtensions.cs
public static string GetConfigurationValue (this Orleans.Hosting.ISiloHostBuilder hostBuilder, string key);
static member GetConfigurationValue : Orleans.Hosting.ISiloHostBuilder * string -> string
<Extension()>
Public Function GetConfigurationValue (hostBuilder As ISiloHostBuilder, key As String) As String

参数

hostBuilder
ISiloHostBuilder
key
String

返回

适用于