Esempio n. 1
0
        private static WeakReference CreateCollectableInherited()
        {
            var obj = new MyObject();

            return(new WeakReference(obj));
        }
Esempio n. 2
0
File: Eo.cs Progetto: mag0/efl
 public static void instantiate_inherited()
 {
     Efl.Object loop = new MyObject();
     Test.Assert(loop.NativeHandle != System.IntPtr.Zero);
     loop.Dispose();
 }
Esempio n. 3
0
File: Eo.cs Progetto: AmarokPL/efl
        public static void test_protected_interface_in_inherited_class_called_from_c()
        {
            var obj = new MyObject();

            Test.AssertEquals(obj.CallMethodProtected(42), 42 * 42);
        }