public SignalConnectorType(TypeRegistration typeRegistration, string name, SWIGTYPE_p_f_p_Dali__BaseObject_p_Dali__ConnectionTrackerInterface_r_q_const__std__string_p_Dali__FunctorDelegate__bool func) : this(Interop.NDalic.new_SignalConnectorType(TypeRegistration.getCPtr(typeRegistration), name, SWIGTYPE_p_f_p_Dali__BaseObject_p_Dali__ConnectionTrackerInterface_r_q_const__std__string_p_Dali__FunctorDelegate__bool.getCPtr(func)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_Dali__BaseObject_p_Dali__ConnectionTrackerInterface_r_q_const__std__string_p_Dali__FunctorDelegate__bool obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
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)"); }