internal TypeAction(TypeRegistration registered, string name, SWIGTYPE_p_f_p_Dali__BaseObject_r_q_const__std__string_r_q_const__Dali__Property__Map__bool f) : this(Interop.NDalic.new_TypeAction(TypeRegistration.getCPtr(registered), name, SWIGTYPE_p_f_p_Dali__BaseObject_r_q_const__std__string_r_q_const__Dali__Property__Map__bool.getCPtr(f)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } }
public void TypeActionConstrucotr() { tlog.Debug(tag, $"TypeActionConstrucotr START"); using (Animatable ani = new Animatable()) { var registered = new TypeRegistration((global::System.IntPtr)ani.SwigCPtr, false); using (PropertyMap map = new PropertyMap()) { var f = new SWIGTYPE_p_f_p_Dali__BaseObject_r_q_const__std__string_r_q_const__Dali__Property__Map__bool(map.SwigCPtr.Handle); var testingTarget = new TypeAction(registered, "ani", f); Assert.IsNotNull(testingTarget, "Can't create success object TypeAction."); Assert.IsInstanceOf <TypeAction>(testingTarget, "Should return TypeAction instance."); testingTarget.Dispose(); } } tlog.Debug(tag, $"TypeActionConstrucotr END (OK)"); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_Dali__BaseObject_r_q_const__std__string_r_q_const__Dali__Property__Map__bool obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }