WebAssemblyHostEnvironmentExtensions.IsStaging Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Geçerli barındırma ortamı adının olup Staging
olmadığı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ı Staging
ise true, aksi takdirde false olur.