Environment Env Extensions. Is Staging(IHostEnvironment) 方法
public: [System::Runtime::CompilerServices::Extension] static bool IsStaging(Microsoft::Extensions::Hosting::IHostEnvironment ^ hostEnvironment);
public static bool IsStaging (this Microsoft.Extensions.Hosting.IHostEnvironment hostEnvironment);
static member IsStaging : Microsoft.Extensions.Hosting.IHostEnvironment -> bool
<Extension()> Public Function IsStaging (hostEnvironment As IHostEnvironment) As Boolean
环境名称 "开发"、"生产" 和 "过渡" 作为应用程序开发人员的实用程序提供。The environment names "Development", "Production" and "Staging" are provided as a utility for application developers. 库作者应避免将特定行为耦合到这些环境名称。Library authors should avoid coupling specific behavior to these environment names.