public override void write(Object obj1, BOutput bout1, long version)
        {
            base.write(obj1, bout1, version);
            EditInfoZ  obj  = (EditInfoZ)obj1;
            BOutputBin bout = (BOutputBin)bout1;
            BBufferBin bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putLong(obj.bset);
            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.sordZ, false, null);
        }
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin bin = (BInputBin)bin1;
            EditInfoZ obj = (EditInfoZ)(obj1 != null ? obj1 : bin.onObjectCreated(new EditInfoZ()));

            base.read(obj, bin1, version);
            BBufferBin bbuf = bin.bbuf;

            // checkpoint byps.gen.cs.PrintContext:449
            obj.bset = bbuf.getLong();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.sordZ = (EloixClient.IndexServer.SordZ)bin.readObj(false, null);

            return(obj);
        }
Beispiel #3
0
        /// <summary>
        /// Reads all masks and updates the cache.
        /// </summary>
        protected override void ProtectedLoadAllObjectsUnsync()
        {
            EditInfoZ editZ = new EditInfoZ(EditInfoC.mbMaskNames, new SordZ(0));
            EditInfo  ed    = ix.createSord(null, null, editZ);

            DocMask[] dms = new DocMask[ed.maskNames.Length];
            int       idx = 0;

            foreach (MaskName mn in ed.maskNames)
            {
                dms[idx++] = ix.checkoutDocMask(Convert.ToString(mn.id, CultureInfo.InvariantCulture), DocMaskC.mbAll, LockC.NO);
            }

            Invalidate();
            AddItems(dms);
            SetMaskNames(ed.maskNames);
        }
Beispiel #4
0
 public EditInfoZ(EditInfoZ rhs) : base(rhs)
 {
     this.bsetValue  = rhs.bsetValue;
     this.sordZValue = rhs.sordZValue;
 }