public PageTurnLandscapeView(PageTurnLandscapeView pageTurnLandscapeView) : this(Interop.PageTurnLandScapeView.NewPageTurnLandscapeView(PageTurnLandscapeView.getCPtr(pageTurnLandscapeView)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } }
public void PageTurnLandscapeViewDownCast() { tlog.Debug(tag, $"PageTurnLandscapeViewDownCast START"); using (View view = new View()) { var testingTarget = new PageTurnLandscapeView(view.SwigCPtr.Handle, false); Assert.IsNotNull(testingTarget, "Should be not null!"); Assert.IsInstanceOf <PageTurnLandscapeView>(testingTarget, "Should be an Instance of PageTurnLandscapeView!"); try { PageTurnLandscapeView.DownCast(testingTarget); } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception: Failed!"); } testingTarget.Dispose(); } tlog.Debug(tag, $"PageTurnLandscapeViewDownCast END (OK)"); }
public PageTurnLandscapeView(PageTurnLandscapeView pageTurnLandscapeView) : this(NDalicPINVOKE.new_PageTurnLandscapeView__SWIG_1(PageTurnLandscapeView.getCPtr(pageTurnLandscapeView)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } }
public new static PageTurnLandscapeView DownCast(BaseHandle handle) { PageTurnLandscapeView ret = Registry.GetManagedBaseHandleFromNativePtr(handle) as PageTurnLandscapeView; if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public PageTurnLandscapeView Assign(PageTurnLandscapeView pageTurnLandscapeView) { PageTurnLandscapeView ret = new PageTurnLandscapeView(Interop.PageTurnLandScapeView.PageTurnLandscapeViewAssign(SwigCPtr, PageTurnLandscapeView.getCPtr(pageTurnLandscapeView)), false); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public void PageTurnLandscapeViewConstructor() { tlog.Debug(tag, $"PageTurnLandscapeViewConstructor START"); using (View view = new View()) { var testingTarget = new PageTurnLandscapeView(view.SwigCPtr.Handle, false); Assert.IsNotNull(testingTarget, "Should be not null!"); Assert.IsInstanceOf <PageTurnLandscapeView>(testingTarget, "Should be an Instance of PageTurnLandscapeView!"); testingTarget.Dispose(); } tlog.Debug(tag, $"PageTurnLandscapeViewConstructor END (OK)"); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PageTurnLandscapeView obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }