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