Class EnvironmentModel
public class EnvironmentModel
- Inheritance
-
EnvironmentModel
- Inherited Members
- Extension Methods
Constructors
EnvironmentModel(EnvironmentName)
public EnvironmentModel(EnvironmentName name)
Parameters
nameEnvironmentName
EnvironmentModel(string)
public EnvironmentModel(string name)
Parameters
namestring
Properties
Color
Returns the name of the Bootstrap contextual color for the environment.
public string Color { get; }
Property Value
Remarks
Production = success Sandbox = warning Development = danger Local = info
Icon
public string Icon { get; }
Property Value
Name
public EnvironmentName Name { get; set; }
Property Value
Slug
public string Slug { get; set; }
Property Value
Methods
GetSubdomainPrefix()
public string GetSubdomainPrefix()
Returns
IsLocal()
public bool IsLocal()
Returns
IsPreProduction()
public bool IsPreProduction()
Returns
Remarks
Pre-Production Environments refer to all environments used for developing, integrating, testing, and validating software before its deployment to the Live (Production) environment.
IsProduction()
public bool IsProduction()
Returns
ToString()
public override string ToString()