Beispiel #1
0
        public static BitmapProviderPrx uncheckedCast(Ice.ObjectPrx b)
        {
            if (b == null)
            {
                return(null);
            }
            BitmapProviderPrx r = b as BitmapProviderPrx;

            if (r == null)
            {
                BitmapProviderPrxHelper h = new BitmapProviderPrxHelper();
                h.copyFrom__(b);
                r = h;
            }
            return(r);
        }
Beispiel #2
0
        public static BitmapProviderPrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary <string, string> ctx)
        {
            if (b == null)
            {
                return(null);
            }
            BitmapProviderPrx r = b as BitmapProviderPrx;

            if ((r == null) && b.ice_isA(ice_staticId(), ctx))
            {
                BitmapProviderPrxHelper h = new BitmapProviderPrxHelper();
                h.copyFrom__(b);
                r = h;
            }
            return(r);
        }
Beispiel #3
0
 public static void write__(IceInternal.BasicStream os__, BitmapProviderPrx v__)
 {
     os__.writeProxy(v__);
 }