public static IZonePrx uncheckedCast(Ice.ObjectPrx b) { if (b == null) { return(null); } IZonePrx r = b as IZonePrx; if (r == null) { IZonePrxHelper h = new IZonePrxHelper(); h.iceCopyFrom(b); r = h; } return(r); }
public static IZonePrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary <string, string> ctx) { if (b == null) { return(null); } IZonePrx r = b as IZonePrx; if ((r == null) && b.ice_isA(ice_staticId(), ctx)) { IZonePrxHelper h = new IZonePrxHelper(); h.iceCopyFrom(b); r = h; } return(r); }
public static void write(Ice.OutputStream ostr, IZonePrx v) { ostr.writeProxy(v); }