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