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

            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putString(obj.customerName);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putString(obj.licenseKey);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putString(obj.moduleName);
        }
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin   bin = (BInputBin)bin1;
            LicenseInfo obj = (LicenseInfo)(obj1 != null ? obj1 : bin.onObjectCreated(new LicenseInfo()));

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

            // checkpoint byps.gen.cs.PrintContext:449
            obj.customerName = bbuf.getString();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.licenseKey = bbuf.getString();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.moduleName = bbuf.getString();

            return(obj);
        }
Esempio n. 3
0
 public LicenseInfo(LicenseInfo rhs) : base(rhs)
 {
     this.customerNameValue = rhs.customerNameValue;
     this.moduleNameValue   = rhs.moduleNameValue;
     this.licenseKeyValue   = rhs.licenseKeyValue;
 }