Exemplo n.º 1
0
        protected decimal GetDecimal(GetDoubleEntryPointDelegate entryPoint)
        {
            double value = 0d;
            int ret = entryPoint(handle, ref value);
            CheckResult(ret);

            return Convert.ToDecimal(value);
        }
Exemplo n.º 2
0
        protected DateTime GetDateTime(GetDoubleEntryPointDelegate entryPoint)
        {
            double ticks = 0d;
            int ret = entryPoint(handle, ref ticks);
            CheckResult(ret);

            return DateTime.FromOADate(ticks);
        }
Exemplo n.º 3
0
        protected decimal GetDecimal(GetDoubleEntryPointDelegate entryPoint)
        {
            double value = 0d;
            int    ret   = entryPoint(Handle, ref value);

            CheckResult(ret);

            return(Convert.ToDecimal(value));
        }
Exemplo n.º 4
0
        protected DateTime GetDateTime(GetDoubleEntryPointDelegate entryPoint)
        {
            double ticks = 0d;
            int    ret   = entryPoint(Handle, ref ticks);

            CheckResult(ret);

            return(DateTime.FromOADate(ticks));
        }