예제 #1
0
 public static MESLinkPrx read__(IceInternal.BasicStream is__)
 {
     Ice.ObjectPrx proxy = is__.readProxy();
     if (proxy != null)
     {
         MESLinkPrxHelper result = new MESLinkPrxHelper();
         result.copyFrom__(proxy);
         return(result);
     }
     return(null);
 }
예제 #2
0
        public static MESLinkPrx uncheckedCast(Ice.ObjectPrx b, string f)
        {
            if (b == null)
            {
                return(null);
            }
            Ice.ObjectPrx    bb = b.ice_facet(f);
            MESLinkPrxHelper h  = new MESLinkPrxHelper();

            h.copyFrom__(bb);
            return(h);
        }
예제 #3
0
        public static MESLinkPrx uncheckedCast(Ice.ObjectPrx b)
        {
            if (b == null)
            {
                return(null);
            }
            MESLinkPrx r = b as MESLinkPrx;

            if (r == null)
            {
                MESLinkPrxHelper h = new MESLinkPrxHelper();
                h.copyFrom__(b);
                r = h;
            }
            return(r);
        }
예제 #4
0
        public static MESLinkPrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary <string, string> ctx)
        {
            if (b == null)
            {
                return(null);
            }
            MESLinkPrx r = b as MESLinkPrx;

            if ((r == null) && b.ice_isA(ice_staticId(), ctx))
            {
                MESLinkPrxHelper h = new MESLinkPrxHelper();
                h.copyFrom__(b);
                r = h;
            }
            return(r);
        }
예제 #5
0
        public static MESLinkPrx checkedCast(Ice.ObjectPrx b)
        {
            if (b == null)
            {
                return(null);
            }
            MESLinkPrx r = b as MESLinkPrx;

            if ((r == null) && b.ice_isA(ice_staticId()))
            {
                MESLinkPrxHelper h = new MESLinkPrxHelper();
                h.copyFrom__(b);
                r = h;
            }
            return(r);
        }
예제 #6
0
 public static MESLinkPrx checkedCast(Ice.ObjectPrx b, string f, _System.Collections.Generic.Dictionary <string, string> ctx)
 {
     if (b == null)
     {
         return(null);
     }
     Ice.ObjectPrx bb = b.ice_facet(f);
     try
     {
         if (bb.ice_isA(ice_staticId(), ctx))
         {
             MESLinkPrxHelper h = new MESLinkPrxHelper();
             h.copyFrom__(bb);
             return(h);
         }
     }
     catch (Ice.FacetNotExistException)
     {
     }
     return(null);
 }
예제 #7
0
 public static MESLinkPrx checkedCast(Ice.ObjectPrx b, string f)
 {
     if (b == null)
     {
         return(null);
     }
     Ice.ObjectPrx bb = b.ice_facet(f);
     try
     {
         if (bb.ice_isA(ice_staticId()))
         {
             MESLinkPrxHelper h = new MESLinkPrxHelper();
             h.copyFrom__(bb);
             return(h);
         }
     }
     catch (Ice.FacetNotExistException)
     {
     }
     return(null);
 }
예제 #8
0
 public static MESLinkPrx read__(IceInternal.BasicStream is__)
 {
     Ice.ObjectPrx proxy = is__.readProxy();
     if(proxy != null)
     {
         MESLinkPrxHelper result = new MESLinkPrxHelper();
         result.copyFrom__(proxy);
         return result;
     }
     return null;
 }
예제 #9
0
 public static MESLinkPrx uncheckedCast(Ice.ObjectPrx b, string f)
 {
     if(b == null)
     {
         return null;
     }
     Ice.ObjectPrx bb = b.ice_facet(f);
     MESLinkPrxHelper h = new MESLinkPrxHelper();
     h.copyFrom__(bb);
     return h;
 }
예제 #10
0
 public static MESLinkPrx uncheckedCast(Ice.ObjectPrx b)
 {
     if(b == null)
     {
         return null;
     }
     MESLinkPrx r = b as MESLinkPrx;
     if(r == null)
     {
         MESLinkPrxHelper h = new MESLinkPrxHelper();
         h.copyFrom__(b);
         r = h;
     }
     return r;
 }
예제 #11
0
 public static MESLinkPrx checkedCast(Ice.ObjectPrx b, string f, _System.Collections.Generic.Dictionary<string, string> ctx)
 {
     if(b == null)
     {
         return null;
     }
     Ice.ObjectPrx bb = b.ice_facet(f);
     try
     {
         if(bb.ice_isA(ice_staticId(), ctx))
         {
             MESLinkPrxHelper h = new MESLinkPrxHelper();
             h.copyFrom__(bb);
             return h;
         }
     }
     catch(Ice.FacetNotExistException)
     {
     }
     return null;
 }
예제 #12
0
 public static MESLinkPrx checkedCast(Ice.ObjectPrx b, string f)
 {
     if(b == null)
     {
         return null;
     }
     Ice.ObjectPrx bb = b.ice_facet(f);
     try
     {
         if(bb.ice_isA(ice_staticId()))
         {
             MESLinkPrxHelper h = new MESLinkPrxHelper();
             h.copyFrom__(bb);
             return h;
         }
     }
     catch(Ice.FacetNotExistException)
     {
     }
     return null;
 }
예제 #13
0
 public static MESLinkPrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary<string, string> ctx)
 {
     if(b == null)
     {
         return null;
     }
     MESLinkPrx r = b as MESLinkPrx;
     if((r == null) && b.ice_isA(ice_staticId(), ctx))
     {
         MESLinkPrxHelper h = new MESLinkPrxHelper();
         h.copyFrom__(b);
         r = h;
     }
     return r;
 }
예제 #14
0
 public static MESLinkPrx checkedCast(Ice.ObjectPrx b)
 {
     if(b == null)
     {
         return null;
     }
     MESLinkPrx r = b as MESLinkPrx;
     if((r == null) && b.ice_isA(ice_staticId()))
     {
         MESLinkPrxHelper h = new MESLinkPrxHelper();
         h.copyFrom__(b);
         r = h;
     }
     return r;
 }