Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class Microsoft.​Extensions.​Hosting.​EnvironmentName

Assembly: Microsoft.Extensions.Hosting.Abstractions

Inheritance: object → EnvironmentName

Commonly used environment names. <para> This type is obsolete and will be removed in a future version. The recommended alternative is Microsoft.Extensions.Hosting.Environments. </para>

Fields and Constants

public static readonly string
Development
The name of the Development environment.
public static readonly string
Production
The name of the Production environment.
public static readonly string
Staging
The name of the Staging environment.

Methods

public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object