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