public static IRoleMasterPushPrx uncheckedCast(Ice.ObjectPrx b) { if (b == null) { return(null); } IRoleMasterPushPrx r = b as IRoleMasterPushPrx; if (r == null) { IRoleMasterPushPrxHelper h = new IRoleMasterPushPrxHelper(); h.iceCopyFrom(b); r = h; } return(r); }
public static IRoleMasterPushPrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary <string, string> ctx) { if (b == null) { return(null); } IRoleMasterPushPrx r = b as IRoleMasterPushPrx; if ((r == null) && b.ice_isA(ice_staticId(), ctx)) { IRoleMasterPushPrxHelper h = new IRoleMasterPushPrxHelper(); h.iceCopyFrom(b); r = h; } return(r); }
public static void write(Ice.OutputStream ostr, IRoleMasterPushPrx v) { ostr.writeProxy(v); }