Exemple #1
0
 public override void getAll(out Test.B b1, out Test.B b2, out Test.C c, out Test.D d, Ice.Current current)
 {
     b1 = _b1;
     b2 = _b2;
     c  = _c;
     d  = _d;
 }
Exemple #2
0
            public override void throwBasB(int a, int b, Ice.Current current)
            {
                var ex = new Test.B();

                ex.aMem = a;
                ex.bMem = b;
                throw ex;
            }
Exemple #3
0
            public void throwUndeclaredB(int a, int b, Ice.Current current)
            {
                var ex = new Test.B();

                ex.aMem = a;
                ex.bMem = b;
                throw ex;
            }
Exemple #4
0
            public InitialI(ObjectAdapter adapter)
            {
                _adapter = adapter;
                _b1      = new Test.B();
                _b2      = new Test.B();
                _c       = new Test.C();
                _d       = new Test.D();

                _b1.theA = _b2;  // Cyclic reference to another B
                _b1.theB = _b1;  // Self reference.
                _b1.theC = null; // Null reference.

                _b2.theA = _b2;  // Self reference, using base.
                _b2.theB = _b1;  // Cyclic reference to another B
                _b2.theC = _c;   // Cyclic reference to a C.

                _c.theB = _b2;   // Cyclic reference to a B.

                _d.theA = _b1;   // Reference to a B.
                _d.theB = _b2;   // Reference to a B.
                _d.theC = null;  // Reference to a C.
            }