Condividi tramite


SiloHostBuilderExtensions.UseEnvironment(ISiloHostBuilder, String) Metodo

Definizione

Specifica l'ambiente che verrà usato dall'host.

public static Orleans.Hosting.ISiloHostBuilder UseEnvironment (this Orleans.Hosting.ISiloHostBuilder hostBuilder, string environment);
static member UseEnvironment : Orleans.Hosting.ISiloHostBuilder * string -> Orleans.Hosting.ISiloHostBuilder
<Extension()>
Public Function UseEnvironment (hostBuilder As ISiloHostBuilder, environment As String) As ISiloHostBuilder

Parametri

hostBuilder
ISiloHostBuilder

Generatore di host da configurare.

environment
String

Ambiente in cui ospitare l'applicazione.

Restituisce

Generatore host.

Si applica a