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