![]() | Azure |
Name | Description | |
---|---|---|
![]() | GetSettingT(Object, Object) | Gets a generic type of value of a setting. This method can be used to get custom Types from a setting's value. An attempt is made to deserialize the setting's raw string value into the requested return Type. If deserialization fails, then processing continues as if the setting was not found, which returns the Type's default value or the fallback parameter value if it's available. This method is suitable for enum Types. |
![]() | GetSettingT(Object, Object, T) | Gets a generic type of value of a setting, or a default fallback value if the setting is not found. This method can be used to get custom Types from a setting's value. An attempt is made to deserialize the setting's raw string value into the requested return Type. If deserialization fails, then processing continues as if the setting was not found, which returns the Type's default value or the fallback parameter value if it's available. This method is suitable for enum Types. |