public void PageTurnPortraitViewGetCPtr() { tlog.Debug(tag, $"PageTurnPortraitViewGetCPtr START"); using (View view = new View()) { var testingTarget = new PageTurnPortraitView(view.SwigCPtr.Handle, false); Assert.IsNotNull(testingTarget, "Should be not null!"); Assert.IsInstanceOf <PageTurnPortraitView>(testingTarget, "Should be an Instance of PageTurnPortraitView!"); try { PageTurnPortraitView.getCPtr(testingTarget); } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception: Failed!"); } testingTarget.Dispose(); } tlog.Debug(tag, $"PageTurnPortraitViewGetCPtr END (OK)"); }
public PageTurnPortraitView Assign(PageTurnPortraitView pageTurnPortraitView) { PageTurnPortraitView ret = new PageTurnPortraitView(NDalicPINVOKE.PageTurnPortraitView_Assign(swigCPtr, PageTurnPortraitView.getCPtr(pageTurnPortraitView)), false); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public PageTurnPortraitView(PageTurnPortraitView pageTurnPortraitView) : this(NDalicPINVOKE.new_PageTurnPortraitView__SWIG_1(PageTurnPortraitView.getCPtr(pageTurnPortraitView)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } }