示例#1
0
            public static IAccountPrx uncheckedCast(Ice.ObjectPrx b)
            {
                if (b == null)
                {
                    return(null);
                }
                IAccountPrx r = b as IAccountPrx;

                if (r == null)
                {
                    IAccountPrxHelper h = new IAccountPrxHelper();
                    h.iceCopyFrom(b);
                    r = h;
                }
                return(r);
            }
示例#2
0
            public static IAccountPrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary <string, string> ctx)
            {
                if (b == null)
                {
                    return(null);
                }
                IAccountPrx r = b as IAccountPrx;

                if ((r == null) && b.ice_isA(ice_staticId(), ctx))
                {
                    IAccountPrxHelper h = new IAccountPrxHelper();
                    h.iceCopyFrom(b);
                    r = h;
                }
                return(r);
            }
示例#3
0
 public static void write(Ice.OutputStream ostr, IAccountPrx v)
 {
     ostr.writeProxy(v);
 }