Method IsEnvironment
| Improve this Doc View SourceIsEnvironment(String)
Compares the current environment name against the specified value.
Declaration
public static bool IsEnvironment(string environmentName)
Parameters
Type | Name | Description |
---|---|---|
String | environmentName | The environment name to validate against. |
Returns
Type | Description |
---|---|
Boolean |
|
Exceptions
Type | Condition |
---|---|
ArgumentNullException |
|