public void AnyContainerBasemContainer() { tlog.Debug(tag, $"AnyContainerBasemContainer START"); using (Any any = new Any()) { var testingTarget = new Any(any); Assert.IsNotNull(testingTarget, "Can't create success object Any"); Assert.IsInstanceOf <Any>(testingTarget, "Should be an instance of Any type."); tlog.Debug(tag, "mContainer : " + testingTarget.mContainer); SWIGTYPE_p_std__type_info type = new SWIGTYPE_p_std__type_info(new View().SwigCPtr.Handle); SWIGTYPE_p_f_r_q_const__Dali__Any__AnyContainerBase__p_Dali__Any__AnyContainerBase cloneFunc = new SWIGTYPE_p_f_r_q_const__Dali__Any__AnyContainerBase__p_Dali__Any__AnyContainerBase(new ImageView().SwigCPtr.Handle); SWIGTYPE_p_f_p_q_const__Dali__Any__AnyContainerBase__void deleteFunc = new SWIGTYPE_p_f_p_q_const__Dali__Any__AnyContainerBase__void(new TextLabel().SwigCPtr.Handle); Any.AnyContainerBase container = new Any.AnyContainerBase(type, cloneFunc, deleteFunc); try { testingTarget.mContainer = container; tlog.Debug(tag, "mContainer : " + testingTarget.mContainer); } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception: Failed!"); } } tlog.Debug(tag, $"AnyContainerBasemContainer END (OK)"); }
public void AnyContainerBaseConstructor() { tlog.Debug(tag, $"AnyContainerBaseConstructor START"); SWIGTYPE_p_std__type_info type = new SWIGTYPE_p_std__type_info(new View().SwigCPtr.Handle); SWIGTYPE_p_f_r_q_const__Dali__Any__AnyContainerBase__p_Dali__Any__AnyContainerBase cloneFunc = new SWIGTYPE_p_f_r_q_const__Dali__Any__AnyContainerBase__p_Dali__Any__AnyContainerBase(new ImageView().SwigCPtr.Handle); SWIGTYPE_p_f_p_q_const__Dali__Any__AnyContainerBase__void deleteFunc = new SWIGTYPE_p_f_p_q_const__Dali__Any__AnyContainerBase__void(new TextLabel().SwigCPtr.Handle); var testingTarget = new Any.AnyContainerBase(type, cloneFunc, deleteFunc); Assert.IsNotNull(testingTarget, "Can't create success object AnyContainerBase"); Assert.IsInstanceOf <Any.AnyContainerBase>(testingTarget, "Should be an instance of AnyContainerBase type."); testingTarget.Dispose(); tlog.Debug(tag, $"AnyContainerBaseConstructor END (OK)"); }
public AnyContainerBase(SWIGTYPE_p_std__type_info type, SWIGTYPE_p_f_r_q_const__Dali__Any__AnyContainerBase__p_Dali__Any__AnyContainerBase cloneFunc, SWIGTYPE_p_f_p_q_const__Dali__Any__AnyContainerBase__void deleteFunc) : this(Interop.Any.NewAnyAnyContainerBase(SWIGTYPE_p_std__type_info.getCPtr(type), SWIGTYPE_p_f_r_q_const__Dali__Any__AnyContainerBase__p_Dali__Any__AnyContainerBase.getCPtr(cloneFunc), SWIGTYPE_p_f_p_q_const__Dali__Any__AnyContainerBase__void.getCPtr(deleteFunc)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_q_const__Dali__Any__AnyContainerBase__void obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }