public void WidgetViewManagergetCPtr() { tlog.Debug(tag, $"WidgetViewManagergetCPtr START"); var testingTarget = new WidgetViewManager(widget.GetIntPtr(), false); Assert.IsNotNull(testingTarget, "Can't create success object WidgetViewManager"); Assert.IsInstanceOf <WidgetViewManager>(testingTarget, "Should be an instance of WidgetViewManager type."); try { WidgetViewManager.getCPtr(testingTarget); } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception: Failed!"); } tlog.Debug(tag, $"WidgetViewManagergetCPtr END (OK)"); }
internal WidgetViewManager(WidgetViewManager handle) : this(Interop.WidgetViewManager.new_WidgetViewManager__SWIG_1(WidgetViewManager.getCPtr(handle)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } }
internal WidgetViewManager Assign(WidgetViewManager handle) { WidgetViewManager ret = new WidgetViewManager(Interop.WidgetViewManager.WidgetViewManager_Assign(swigCPtr, WidgetViewManager.getCPtr(handle)), false); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }