Ejemplo n.º 1
0
        public void WatchTimegetCPtr()
        {
            tlog.Debug(tag, $"WatchTimegetCPtr START");

            using (ImageView view = new ImageView())
            {
                var testingTarget = new WatchTime(view.SwigCPtr.Handle, false);
                Assert.IsNotNull(testingTarget, "should be not null");
                Assert.IsInstanceOf <WatchTime>(testingTarget, "Should be an instance of WatchTime type.");

                try
                {
                    WatchTime.getCPtr(testingTarget);
                }
                catch (Exception e)
                {
                    tlog.Debug(tag, e.Message.ToString());
                    Assert.Fail("Caught Exception: Failed!");
                }

                testingTarget.Dispose();
            }

            tlog.Debug(tag, $"WatchTimegetCPtr END (OK)");
        }
Ejemplo n.º 2
0
 public void Emit(Application arg1, WatchTime arg2)
 {
     Interop.Watch.WatchTimeSignal_Emit(swigCPtr, Application.getCPtr(arg1), WatchTime.getCPtr(arg2));
     if (NDalicPINVOKE.SWIGPendingException.Pending)
     {
         throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     }
 }