Пример #1
0
 public override void Deserialize(JObject data)
 {
     base.Deserialize(data);
     if (data != null)
     {
         var loaded = data["value"]?.ToString();
         var value  = Replacements.FirstOrDefault(x => NameToId(x.Key, false) == loaded);
         if (value.Value != null)
         {
             Value = value;
         }
     }
 }