Dela via


HostApplicationBuilder.Environment Property

Definition

Gets information about the hosting environment an application is running in.

public:
 property Microsoft::Extensions::Hosting::IHostEnvironment ^ Environment { Microsoft::Extensions::Hosting::IHostEnvironment ^ get(); };
public Microsoft.Extensions.Hosting.IHostEnvironment Environment { get; }
member this.Environment : Microsoft.Extensions.Hosting.IHostEnvironment
Public ReadOnly Property Environment As IHostEnvironment

Property Value

Implements

Applies to