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