Environment Env Extensions. Is Development(IHostEnvironment) 方法
public: [System::Runtime::CompilerServices::Extension] static bool IsDevelopment(Microsoft::Extensions::Hosting::IHostEnvironment ^ hostEnvironment);
public static bool IsDevelopment (this Microsoft.Extensions.Hosting.IHostEnvironment hostEnvironment);
static member IsDevelopment : Microsoft.Extensions.Hosting.IHostEnvironment -> bool
<Extension()> Public Function IsDevelopment (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.