Esempio n. 1
0
 public static ManufacturerPrx read(global::Ice.InputStream istr)
 {
     global::Ice.ObjectPrx proxy = istr.readProxy();
     if (proxy != null)
     {
         ManufacturerPrxHelper result = new ManufacturerPrxHelper();
         result.iceCopyFrom(proxy);
         return(result);
     }
     return(null);
 }
Esempio n. 2
0
        public static ManufacturerPrx uncheckedCast(global::Ice.ObjectPrx b, string f)
        {
            if (b == null)
            {
                return(null);
            }
            global::Ice.ObjectPrx bb = b.ice_facet(f);
            ManufacturerPrxHelper h  = new ManufacturerPrxHelper();

            h.iceCopyFrom(bb);
            return(h);
        }
Esempio n. 3
0
        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);
        }
Esempio n. 4
0
        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);
        }
Esempio n. 5
0
 public static ManufacturerPrx checkedCast(global::Ice.ObjectPrx b, string f, global::System.Collections.Generic.Dictionary <string, string> ctx)
 {
     if (b == null)
     {
         return(null);
     }
     global::Ice.ObjectPrx bb = b.ice_facet(f);
     try
     {
         if (bb.ice_isA(ice_staticId(), ctx))
         {
             ManufacturerPrxHelper h = new ManufacturerPrxHelper();
             h.iceCopyFrom(bb);
             return(h);
         }
     }
     catch (global::Ice.FacetNotExistException)
     {
     }
     return(null);
 }
Esempio n. 6
0
 public static ManufacturerPrx checkedCast(global::Ice.ObjectPrx b, string f)
 {
     if (b == null)
     {
         return(null);
     }
     global::Ice.ObjectPrx bb = b.ice_facet(f);
     try
     {
         if (bb.ice_isA(ice_staticId()))
         {
             ManufacturerPrxHelper h = new ManufacturerPrxHelper();
             h.iceCopyFrom(bb);
             return(h);
         }
     }
     catch (global::Ice.FacetNotExistException)
     {
     }
     return(null);
 }