[]
Gets an enumeration value specified by a path.
public object GetEnum(string path)
Type | Name | Description |
---|---|---|
string | path | The target path. |
Type | Description |
---|---|
object | The enum value specified by |
Gets an enumeration value specified by a path.
public T GetEnum<T>(string path, T defaultValue)
Type | Name | Description |
---|---|---|
string | path | The target path. |
T | defaultValue | Used if value at specified path does not exist. |
Type | Description |
---|---|
T | The enum value specified by |
Name | Description |
---|---|
T |