Esempio n. 1
0
        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)");
        }
Esempio n. 2
0
 internal WidgetViewManager(WidgetViewManager handle) : this(Interop.WidgetViewManager.new_WidgetViewManager__SWIG_1(WidgetViewManager.getCPtr(handle)), true)
 {
     if (NDalicPINVOKE.SWIGPendingException.Pending)
     {
         throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 3
0
        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);
        }