コード例 #1
0
 public PublicDownloadDataC(PublicDownloadDataC rhs)
 {
     this.lnIdValue             = rhs.lnIdValue;
     this.lnTimeStampValue      = rhs.lnTimeStampValue;
     this.lnExpirationValue     = rhs.lnExpirationValue;
     this.lnFileNameValue       = rhs.lnFileNameValue;
     this.lnAttachmentCodeValue = rhs.lnAttachmentCodeValue;
 }
コード例 #2
0
        public override void write(Object obj1, BOutput bout1, long version)
        {
            PublicDownloadDataC obj  = (PublicDownloadDataC)obj1;
            BOutputBin          bout = (BOutputBin)bout1;
            BBufferBin          bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.lnExpiration);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.lnId);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.lnTimeStamp);
            if (version >= 900000030000030L)
            {
                // checkpoint byps.gen.cs.PrintContext:494
                bbuf.putInt(obj.lnAttachmentCode);
                // checkpoint byps.gen.cs.PrintContext:494
                bbuf.putInt(obj.lnFileName);
            }
        }
コード例 #3
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin           bin = (BInputBin)bin1;
            PublicDownloadDataC obj = (PublicDownloadDataC)(obj1 != null ? obj1 : bin.onObjectCreated(new PublicDownloadDataC()));

            BBufferBin bbuf = bin.bbuf;

            // checkpoint byps.gen.cs.PrintContext:449
            obj.lnExpiration = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.lnId = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.lnTimeStamp = bbuf.getInt();
            if (version >= 900000030000030L)
            {
                // checkpoint byps.gen.cs.PrintContext:449
                obj.lnAttachmentCode = bbuf.getInt();
                // checkpoint byps.gen.cs.PrintContext:449
                obj.lnFileName = bbuf.getInt();
            }

            return(obj);
        }