예제 #1
0
        public void SignalConnectorTypeConstructor()
        {
            tlog.Debug(tag, $"SignalConnectorTypeConstructor START");

            using (View view = new View())
            {
                using (TypeRegistration typeRegistration = new TypeRegistration(view.SwigCPtr.Handle, false))
                {
                    using (ImageView imageView = new ImageView())
                    {
                        SWIGTYPE_p_f_p_Dali__BaseObject_p_Dali__ConnectionTrackerInterface_r_q_const__std__string_p_Dali__FunctorDelegate__bool func = new SWIGTYPE_p_f_p_Dali__BaseObject_p_Dali__ConnectionTrackerInterface_r_q_const__std__string_p_Dali__FunctorDelegate__bool(imageView.SwigCPtr.Handle);
                        var testingTarget = new SignalConnectorType(typeRegistration, "View", func);
                        Assert.IsNotNull(testingTarget, "Should be not null!");
                        Assert.IsInstanceOf <SignalConnectorType>(testingTarget, "Should be an Instance of SignalConnectorType!");

                        testingTarget.Dispose();
                    }
                }
            }

            tlog.Debug(tag, $"SignalConnectorTypeConstructor END (OK)");
        }
예제 #2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SignalConnectorType obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }