Share via


WebAssemblyHostEnvironmentExtensions.IsStaging 메서드

정의

현재 호스팅 환경 이름이 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

매개 변수

hostingEnvironment
IWebAssemblyHostEnvironment

IWebAssemblyHostEnvironment의 인스턴스입니다.

반환

환경 이름이 이면 True이고, 그렇지 않으면 false입니다 Staging.

적용 대상