Пример #1
0
        public RenderTaskList Assign(RenderTaskList rhs)
        {
            RenderTaskList ret = new RenderTaskList(NDalicPINVOKE.RenderTaskList_Assign(swigCPtr, RenderTaskList.getCPtr(rhs)), false);

            if (NDalicPINVOKE.SWIGPendingException.Pending)
            {
                throw NDalicPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #2
0
        public static RenderTaskList DownCast(BaseHandle handle)
        {
            RenderTaskList ret = Registry.GetManagedBaseHandleFromNativePtr(handle) as RenderTaskList;

            if (NDalicPINVOKE.SWIGPendingException.Pending)
            {
                throw NDalicPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #3
0
        public void RenderTaskListConstructor()
        {
            tlog.Debug(tag, $"RenderTaskListConstructor START");

            var testingTarget = new RenderTaskList();

            Assert.IsInstanceOf <RenderTaskList>(testingTarget, "Should return RenderTaskList instance.");

            testingTarget.Dispose();
            tlog.Debug(tag, $"RenderTaskListConstructor END (OK)");
        }
Пример #4
0
        public void RenderTaskListDownCast()
        {
            tlog.Debug(tag, $"RenderTaskListDownCast START");

            using (RenderTask task = new RenderTask())
            {
                try
                {
                    RenderTaskList.DownCast(task);
                }
                catch (Exception e)
                {
                    tlog.Debug(tag, e.Message.ToString());
                    Assert.Fail("Caught Exception : Failed!");
                }
            }

            tlog.Debug(tag, $"RenderTaskListDownCast END (OK)");
        }
Пример #5
0
        public void RenderTaskListAssign()
        {
            tlog.Debug(tag, $"RenderTaskListAssign START");

            using (Animatable ani = new Animatable())
            {
                using (RenderTaskList task = new RenderTaskList(ani.SwigCPtr.Handle, false))
                {
                    var testingTarget = task.Assign(task);
                    Assert.IsNotNull(testingTarget, "Can't create success object RenderTaskList.");
                    Assert.IsInstanceOf <RenderTaskList>(testingTarget, "Should return RenderTaskList instance.");

                    tlog.Debug(tag, "GetTaskCount :" + testingTarget.GetTaskCount());

                    testingTarget.Dispose();
                }
            }

            tlog.Debug(tag, $"RenderTaskListAssign END (OK)");
        }
Пример #6
0
 public RenderTaskList(RenderTaskList handle) : this(Interop.RenderTask.NewRenderTaskList(RenderTaskList.getCPtr(handle)), true)
 {
     if (NDalicPINVOKE.SWIGPendingException.Pending)
     {
         throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #7
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(RenderTaskList obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.SwigCPtr);
 }
Пример #8
0
 public RenderTaskList(RenderTaskList handle) : this(NDalicPINVOKE.new_RenderTaskList__SWIG_1(RenderTaskList.getCPtr(handle)), true)
 {
     if (NDalicPINVOKE.SWIGPendingException.Pending)
     {
         throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     }
 }