Пример #1
0
 public FindByVersion(FindByVersion rhs) : base(rhs)
 {
     this.versionCommentValue  = rhs.versionCommentValue;
     this.versionMD5Value      = rhs.versionMD5Value;
     this.versionNumberValue   = rhs.versionNumberValue;
     this.workVersionOnlyValue = rhs.workVersionOnlyValue;
 }
Пример #2
0
        public override void write(Object obj1, BOutput bout1, long version)
        {
            base.write(obj1, bout1, version);
            FindByVersion obj  = (FindByVersion)obj1;
            BOutputBin    bout = (BOutputBin)bout1;
            BBufferBin    bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putString(obj.versionComment);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putString(obj.versionMD5);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putString(obj.versionNumber);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putBoolean(obj.workVersionOnly);
        }
Пример #3
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin     bin = (BInputBin)bin1;
            FindByVersion obj = (FindByVersion)(obj1 != null ? obj1 : bin.onObjectCreated(new FindByVersion()));

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

            // checkpoint byps.gen.cs.PrintContext:449
            obj.versionComment = bbuf.getString();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.versionMD5 = bbuf.getString();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.versionNumber = bbuf.getString();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.workVersionOnly = bbuf.getBoolean();

            return(obj);
        }