Exemplo n.º 1
0
        public static TestPrx uncheckedCast(global::Ice.ObjectPrx b)
        {
            if (b == null)
            {
                return(null);
            }
            TestPrx r = b as TestPrx;

            if (r == null)
            {
                TestPrxHelper h = new TestPrxHelper();
                h.iceCopyFrom(b);
                r = h;
            }
            return(r);
        }
Exemplo n.º 2
0
        public static TestPrx checkedCast(global::Ice.ObjectPrx b, global::System.Collections.Generic.Dictionary <string, string> ctx)
        {
            if (b == null)
            {
                return(null);
            }
            TestPrx r = b as TestPrx;

            if ((r == null) && b.ice_isA(ice_staticId(), ctx))
            {
                TestPrxHelper h = new TestPrxHelper();
                h.iceCopyFrom(b);
                r = h;
            }
            return(r);
        }
Exemplo n.º 3
0
 public static void write(global::Ice.OutputStream ostr, TestPrx v)
 {
     ostr.writeProxy(v);
 }