示例#1
0
 public static Nullable <V> GenericNullableDeserializer <V>(ListTreeNode <T> parsed) where V : struct
 {
     if (!parsed.IsNull())
     {
         var c = default(V);
         parsed.Deserialize(ref c);
         return(c);
     }
     else
     {
         return(default(V));
     }
 }