Exemplo n.º 1
0
        protected decimal GetDecimal(GetComposedDoubleEntryPointDelegate entryPoint)
        {
            double value = 0d;
            int    ret   = entryPoint(Handle, composedHandle, ref value);

            CheckResult(ret);

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

            CheckResult(ret);

            return(DateTime.FromOADate(ticks));
        }
		protected decimal GetDecimal(GetComposedDoubleEntryPointDelegate entryPoint)
		{
			double value = 0d;
			int ret = entryPoint(Handle, composedHandle, ref value);
			CheckResult(ret);

			return Convert.ToDecimal(value);
		}
		protected DateTime GetDateTime(GetComposedDoubleEntryPointDelegate entryPoint)
		{
			double ticks = 0d;
			int ret = entryPoint(Handle, composedHandle, ref ticks);
			CheckResult(ret);

			return DateTime.FromOADate(ticks);
		}