示例#1
0
 public static T?GetValueEx <T>(this Wz_Node node) where T : struct
 {
     if (node == null)
     {
         return(null);
     }
     return(node.GetValue <T>());
 }
示例#2
0
 public static T GetValueEx <T>(this Wz_Node node, T defaultValue)
 {
     if (node == null)
     {
         return(defaultValue);
     }
     return(node.GetValue <T>(defaultValue));
 }