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