Partilhar via


TestClusterExtensions.GetConfigurationValue Método

Definição

Sobrecargas

GetConfigurationValue(IHostBuilder, String)

Obtém um valor de configuração.

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

GetConfigurationValue(IHostBuilder, String)

Obtém um valor de configuração.

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

Parâmetros

hostBuilder
IHostBuilder

O construtor de host.

key
String

A chave.

Retornos

O valor de configuração.

Aplica-se a

GetConfigurationValue(ISiloBuilder, String)

Origem:
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

Parâmetros

hostBuilder
ISiloBuilder
key
String

Retornos

Aplica-se a

GetConfigurationValue(ISiloHostBuilder, String)

Origem:
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

Parâmetros

hostBuilder
ISiloHostBuilder
key
String

Retornos

Aplica-se a