Partager via


TestClusterExtensions.GetConfigurationValue Méthode

Définition

Surcharges

GetConfigurationValue(IHostBuilder, String)

Obtient une valeur de configuration.

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

GetConfigurationValue(IHostBuilder, String)

Obtient une valeur de configuration.

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

Paramètres

hostBuilder
IHostBuilder

Générateur d’hôte.

key
String

Clé.

Retours

Valeur de configuration.

S’applique à

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

Paramètres

hostBuilder
ISiloBuilder
key
String

Retours

S’applique à

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

Paramètres

hostBuilder
ISiloHostBuilder
key
String

Retours

S’applique à