Exemple #1
0
 public object FromString(Type destinationType, string key, string value) => KeyValueUtils.ParseUInt(value);
 public object FromString(Type destinationType, string key, string value)
 {
     //TODO: uses int as its parsing type, may need something more flexible
     return(KeyValueUtils.ParseEnum(value, destinationType, GetDefaultValue(destinationType)));
 }