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