public static cm_user_friend_rpcPrx read__(IceInternal.BasicStream is__) { Ice.ObjectPrx proxy = is__.readProxy(); if(proxy != null) { cm_user_friend_rpcPrxHelper result = new cm_user_friend_rpcPrxHelper(); result.copyFrom__(proxy); return result; } return null; }
public static cm_user_friend_rpcPrx read(Ice.InputStream inS__) { Ice.ObjectPrx proxy = inS__.readProxy(); if(proxy != null) { cm_user_friend_rpcPrxHelper result = new cm_user_friend_rpcPrxHelper(); result.copyFrom__(proxy); return result; } return null; }
public static cm_user_friend_rpcPrx uncheckedCast(Ice.ObjectPrx b, string f) { if(b == null) { return null; } Ice.ObjectPrx bb = b.ice_facet(f); cm_user_friend_rpcPrxHelper h = new cm_user_friend_rpcPrxHelper(); h.copyFrom__(bb); return h; }
public static cm_user_friend_rpcPrx uncheckedCast(Ice.ObjectPrx b) { if(b == null) { return null; } cm_user_friend_rpcPrx r = b as cm_user_friend_rpcPrx; if(r == null) { cm_user_friend_rpcPrxHelper h = new cm_user_friend_rpcPrxHelper(); h.copyFrom__(b); r = h; } return r; }
public static cm_user_friend_rpcPrx 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)) { cm_user_friend_rpcPrxHelper h = new cm_user_friend_rpcPrxHelper(); h.copyFrom__(bb); return h; } } catch(Ice.FacetNotExistException) { } return null; }
public static cm_user_friend_rpcPrx 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())) { cm_user_friend_rpcPrxHelper h = new cm_user_friend_rpcPrxHelper(); h.copyFrom__(bb); return h; } } catch(Ice.FacetNotExistException) { } return null; }
public static cm_user_friend_rpcPrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary<string, string> ctx) { if(b == null) { return null; } cm_user_friend_rpcPrx r = b as cm_user_friend_rpcPrx; if((r == null) && b.ice_isA(ice_staticId(), ctx)) { cm_user_friend_rpcPrxHelper h = new cm_user_friend_rpcPrxHelper(); h.copyFrom__(b); r = h; } return r; }