Condividi tramite


WebAssemblyHostEnvironmentExtensions.IsStaging Metodo

Definizione

Controlla se il nome dell'ambiente di hosting corrente è Staging.

public:
[System::Runtime::CompilerServices::Extension]
 static bool IsStaging(Microsoft::AspNetCore::Components::WebAssembly::Hosting::IWebAssemblyHostEnvironment ^ hostingEnvironment);
public static bool IsStaging (this Microsoft.AspNetCore.Components.WebAssembly.Hosting.IWebAssemblyHostEnvironment hostingEnvironment);
static member IsStaging : Microsoft.AspNetCore.Components.WebAssembly.Hosting.IWebAssemblyHostEnvironment -> bool
<Extension()>
Public Function IsStaging (hostingEnvironment As IWebAssemblyHostEnvironment) As Boolean

Parametri

Restituisce

True se il nome dell'ambiente è Staging, in caso contrario false.

Si applica a