Class Environment.Settings
Inheritance
System.Object
Environment.Settings
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Experior.Core
Assembly: Experior.Core.dll
Syntax
public class Settings
Methods
GetValue(String, String)
Get value from ExperiorSettings configuration file.
Declaration
public static string GetValue(string key, string defaultValue)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | Key |
System.String | defaultValue | Value to use if key not found |
Returns
Type | Description |
---|---|
System.String | Value |
SetValue(String, String)
Store value into ExperiorSettings configuration file.
Declaration
public static void SetValue(string key, string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | Key to store under. |
System.String | value | Value to store. |