Exemplo n.º 1
0
        public static PrinterCsharpPrx uncheckedCast(global::Ice.ObjectPrx b)
        {
            if (b == null)
            {
                return(null);
            }
            PrinterCsharpPrx r = b as PrinterCsharpPrx;

            if (r == null)
            {
                PrinterCsharpPrxHelper h = new PrinterCsharpPrxHelper();
                h.iceCopyFrom(b);
                r = h;
            }
            return(r);
        }
Exemplo n.º 2
0
        public static PrinterCsharpPrx checkedCast(global::Ice.ObjectPrx b, global::System.Collections.Generic.Dictionary <string, string> ctx)
        {
            if (b == null)
            {
                return(null);
            }
            PrinterCsharpPrx r = b as PrinterCsharpPrx;

            if ((r == null) && b.ice_isA(ice_staticId(), ctx))
            {
                PrinterCsharpPrxHelper h = new PrinterCsharpPrxHelper();
                h.iceCopyFrom(b);
                r = h;
            }
            return(r);
        }
Exemplo n.º 3
0
 public static void write(global::Ice.OutputStream ostr, PrinterCsharpPrx v)
 {
     ostr.writeProxy(v);
 }