Exemple #1
0
        public void ChildPropertyRegistrationcConstructor()
        {
            tlog.Debug(tag, $"ChildPropertyRegistrationcConstructor START");

            using (Animatable ani = new Animatable())
            {
                var registered    = new TypeRegistration((global::System.IntPtr)ani.SwigCPtr, false);
                var testingTarget = new ChildPropertyRegistration(registered, "Animatable", 45000000, PropertyType.Boolean);
                Assert.IsNotNull(testingTarget, "should not be null.");
                Assert.IsInstanceOf <ChildPropertyRegistration>(testingTarget, "should be an instance of ChildPropertyRegistration class!");

                testingTarget.Dispose();
            }

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