TestClusterExtensions.GetConfigurationValue Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetConfigurationValue(IHostBuilder, String) |
Gets a configuration value. |
GetConfigurationValue(ISiloBuilder, String) | |
GetConfigurationValue(ISiloHostBuilder, String) |
GetConfigurationValue(IHostBuilder, String)
Gets a configuration value.
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
Parameters
- hostBuilder
- IHostBuilder
The host builder.
- key
- String
The key.
Returns
The configuration value.
Applies to
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
Parameters
- hostBuilder
- ISiloBuilder
- key
- String
Returns
Applies to
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
Parameters
- hostBuilder
- ISiloHostBuilder
- key
- String