コード例 #1
0
 /// <summary>
 /// List of field's available allowed values as object of class T which is ought to be implemented by user of this method.
 /// Conversion from serialized JObject to custom class T takes here place.
 /// </summary>
 public IEnumerable <T> AllowedValuesAs <T>()
 {
     return(AllowedValues.Values <JObject>().Select(x => x.ToObject <T>()));
 }