예제 #1
0
        public static StateType Repeat(double value, int count)
        {
            IntPtr    cPtr = CorePINVOKE.StateType_Repeat(value, count);
            StateType ret  = (cPtr == IntPtr.Zero) ? null : new StateType(cPtr, true);

            if (CorePINVOKE.SWIGPendingException.Pending)
            {
                throw CorePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }