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