Пример #1
0
        public override void write(Object obj1, BOutput bout1, long version)
        {
            FileDataC  obj  = (FileDataC)obj1;
            BOutputBin bout = (BOutputBin)bout1;
            BBufferBin bbuf = bout.bbuf;

            if (version >= 1000000020000007L)
            {
                // checkpoint byps.gen.cs.PrintContext:494
                bbuf.putInt(obj.lnContentType);
            }
        }
Пример #2
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin bin = (BInputBin)bin1;
            FileDataC obj = (FileDataC)(obj1 != null ? obj1 : bin.onObjectCreated(new FileDataC()));

            BBufferBin bbuf = bin.bbuf;

            if (version >= 1000000020000007L)
            {
                // checkpoint byps.gen.cs.PrintContext:449
                obj.lnContentType = bbuf.getInt();
            }

            return(obj);
        }
Пример #3
0
 public FileDataC(FileDataC rhs)
 {
     this.lnContentTypeValue = rhs.lnContentTypeValue;
 }