Exemplo n.º 1
0
 public NullableDecimal(decimal_t value) : this(CommonPINVOKE.new_NullableDecimal__SWIG_1(decimal_t.getCPtr(value)), true)
 {
     if (CommonPINVOKE.SWIGPendingException.Pending)
     {
         throw CommonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
        public decimal_t GetValueOrDefault()
        {
            decimal_t ret = new decimal_t(CommonPINVOKE.NullableDecimal_GetValueOrDefault(swigCPtr), false);

            if (CommonPINVOKE.SWIGPendingException.Pending)
            {
                throw CommonPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 3
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(decimal_t obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }