Aracılığıyla paylaş


WebAssemblyHostEnvironmentExtensions.IsStaging Yöntem

Tanım

Geçerli barındırma ortamı adının olup Stagingolmadığını denetler.

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

Parametreler

hostingEnvironment
IWebAssemblyHostEnvironment

IWebAssemblyHostEnvironment öğesinin bir örneği.

Döndürülenler

Ortam adı Stagingise true, aksi takdirde false olur.

Şunlara uygulanır