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