Пример #1
0
        internal TextFieldSignal InputFilteredSignal()
        {
            TextFieldSignal ret = new TextFieldSignal(Interop.TextField.InputFilteredSignal(SwigCPtr), false);

            if (NDalicPINVOKE.SWIGPendingException.Pending)
            {
                throw NDalicPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #2
0
        internal TextFieldSignal CursorPositionChangedSignal()
        {
            TextFieldSignal ret = new TextFieldSignal(Interop.TextField.CursorPositionChangedSignal(SwigCPtr), false);

            if (NDalicPINVOKE.SWIGPendingException.Pending)
            {
                throw NDalicPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #3
0
        internal TextFieldSignal MaxLengthReachedSignal()
        {
            TextFieldSignal ret = new TextFieldSignal(Interop.TextField.MaxLengthReachedSignal(swigCPtr), false);

            if (NDalicPINVOKE.SWIGPendingException.Pending)
            {
                throw NDalicPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #4
0
        public void TextFieldSignalConstructor()
        {
            tlog.Debug(tag, $"TextFieldSignalConstructor START");

            using (View view = new View())
            {
                var testingTarget = new TextFieldSignal(view.SwigCPtr.Handle, false);
                Assert.IsNotNull(testingTarget, "Should be not null!");
                Assert.IsInstanceOf <TextFieldSignal>(testingTarget, "Should be an Instance of TextFieldSignal!");

                testingTarget.Dispose();
            }

            tlog.Debug(tag, $"TextFieldSignalConstructor END (OK)");
        }
Пример #5
0
        public void TextFieldSignalGetConnectionCount()
        {
            tlog.Debug(tag, $"TextFieldSignalGetConnectionCount START");

            var testingTarget = new TextFieldSignal();

            Assert.IsNotNull(testingTarget, "Should be not null!");
            Assert.IsInstanceOf <TextFieldSignal>(testingTarget, "Should be an Instance of TextFieldSignal!");

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

            testingTarget.Dispose();

            tlog.Debug(tag, $"TextFieldSignalGetConnectionCount END (OK)");
        }