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 void write(Ice.OutputStream ostr, IRoleMasterPrx v) { ostr.writeProxy(v); }