Exemple #1
0
 public static sbyte GetSByte(this DObject obj, int property, sbyte def)
 {
     return((sbyte)obj.GetByte(property, (byte)def));
 }
Exemple #2
0
 public static bool GetBool(this DObject obj, int property, bool def)
 {
     return(obj.GetByte(property, def ? (byte)1 : (byte)0) != 0);
 }