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

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

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