共用方式為


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)

來源:
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)

來源:
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

傳回

適用於