示例#1
0
        public static float GetFloat(DataContainer data)
        {
            var obj = data.GetValue();

            return((float)obj);
        }
示例#2
0
        public static bool GetBoolean(DataContainer data)
        {
            var obj = data.GetValue();

            return((bool)obj);
        }
示例#3
0
        public static decimal GetDecimal(DataContainer data)
        {
            var obj = data.GetValue();

            return((decimal)obj);
        }
示例#4
0
        public static double GetDouble(DataContainer data)
        {
            var obj = data.GetValue();

            return((double)obj);
        }
示例#5
0
        public static int GetInt32(DataContainer data)
        {
            var obj = data.GetValue();

            return((int)obj);
        }
示例#6
0
        public static long GetInt64(DataContainer data)
        {
            var obj = data.GetValue();

            return((long)obj);
        }
示例#7
0
        public static short GetInt16(DataContainer data)
        {
            var obj = data.GetValue();

            return((short)obj);
        }
示例#8
0
        public static char GetChar(DataContainer data)
        {
            var obj = data.GetValue();

            return((char)obj);
        }
示例#9
0
        public static byte GetByte(DataContainer data)
        {
            var obj = data.GetValue();

            return((byte)obj);
        }
示例#10
0
        public static Guid GetGuid(DataContainer data)
        {
            var obj = data.GetValue();

            return((Guid)obj);
        }
示例#11
0
        public static DateTime GetDateTime(DataContainer data)
        {
            var obj = data.GetValue();

            return((DateTime)obj);
        }