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); }
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); }
public static void write(Ice.OutputStream ostr, IAccountPrx v) { ostr.writeProxy(v); }