示例#1
0
        public virtual void onBeforeStartWorkFlow(EloixClient.IndexServer.IXServerEventsContext ec, EloixClient.IndexServer.WFDiagram workflow, EloixClient.IndexServer.Sord sord, EloixClient.IndexServer.SordZ sordZ, BAsyncResult <Object> asyncResult)
        {
            BRequest_IXServerEvents_onBeforeStartWorkFlow req = new BRequest_IXServerEvents_onBeforeStartWorkFlow();

            req.ecValue       = ec;
            req.workflowValue = workflow;
            req.sordValue     = sord;
            req.sordZValue    = sordZ;
            transport.sendMethod(req, asyncResult);
        }
        public override void write(Object obj1, BOutput bout1, long version)
        {
            BRequest_IXServerEvents_onBeforeStartWorkFlow obj = (BRequest_IXServerEvents_onBeforeStartWorkFlow)obj1;
            BOutputBin bout = (BOutputBin)bout1;
            BBufferBin bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.ecValue, false, null);
            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.sordValue, false, null);
            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.sordZValue, false, null);
            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.workflowValue, false, null);
        }
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin bin = (BInputBin)bin1;
            BRequest_IXServerEvents_onBeforeStartWorkFlow obj = (BRequest_IXServerEvents_onBeforeStartWorkFlow)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_IXServerEvents_onBeforeStartWorkFlow()));

            BBufferBin bbuf = bin.bbuf;

            // checkpoint byps.gen.cs.PrintContext:449
            obj.ecValue = (EloixClient.IndexServer.IXServerEventsContext)bin.readObj(false, null);
            // checkpoint byps.gen.cs.PrintContext:449
            obj.sordValue = (EloixClient.IndexServer.Sord)bin.readObj(false, null);
            // checkpoint byps.gen.cs.PrintContext:449
            obj.sordZValue = (EloixClient.IndexServer.SordZ)bin.readObj(false, null);
            // checkpoint byps.gen.cs.PrintContext:449
            obj.workflowValue = (EloixClient.IndexServer.WFDiagram)bin.readObj(false, null);

            return(obj);
        }