public virtual void onCreateDoc(EloixClient.IndexServer.IXServerEventsContext ec, String parentId, String maskId, String docTemplate, EloixClient.IndexServer.EditInfoZ editInfoZ, BAsyncResult <EloixClient.IndexServer.EditInfo> asyncResult) { EloixClient.IndexServer.EditInfo __byps__ret = default(EloixClient.IndexServer.EditInfo); Exception __byps__ex = null; try { __byps__ret = onCreateDoc(ec, parentId, maskId, docTemplate, editInfoZ); } catch (Exception e) { __byps__ex = e; } asyncResult(__byps__ret, __byps__ex); }
public override Object read(Object obj1, BInput bin1, long version) { BInputBin bin = (BInputBin)bin1; BBufferBin bbuf = bin.bbuf; // lengths int n0 = bbuf.getLength(); // create array EditInfo[] arr = new EloixClient.IndexServer.EditInfo[n0]; bin.onObjectCreated(arr); // read for (int i0 = 0; i0 < n0; i0++) { arr[i0] = (EloixClient.IndexServer.EditInfo)bin.readObj(false, null); } return(arr); }