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); }
public static RenderTaskList DownCast(BaseHandle handle) { RenderTaskList ret = Registry.GetManagedBaseHandleFromNativePtr(handle) as RenderTaskList; if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
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)"); }
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)"); }
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)"); }
public RenderTaskList(RenderTaskList handle) : this(Interop.RenderTask.NewRenderTaskList(RenderTaskList.getCPtr(handle)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } }
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); }
public RenderTaskList(RenderTaskList handle) : this(NDalicPINVOKE.new_RenderTaskList__SWIG_1(RenderTaskList.getCPtr(handle)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } }