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

            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putBoolean(obj.previewAvailable);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putBoolean(obj.previewError);
            if (version >= 700000040000010L)
            {
                // checkpoint byps.gen.cs.PrintContext:494
                bout.writeObj(obj.fileExtensions, true, EloixClient.IndexServer.BSerializer_1888107655.instance);
            }
        }
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin         bin = (BInputBin)bin1;
            FindByPreviewCtrl obj = (FindByPreviewCtrl)(obj1 != null ? obj1 : bin.onObjectCreated(new FindByPreviewCtrl()));

            BBufferBin bbuf = bin.bbuf;

            // checkpoint byps.gen.cs.PrintContext:449
            obj.previewAvailable = bbuf.getBoolean();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.previewError = bbuf.getBoolean();
            if (version >= 700000040000010L)
            {
                // checkpoint byps.gen.cs.PrintContext:449
                obj.fileExtensions = (String[])bin.readObj(false, EloixClient.IndexServer.BSerializer_1888107655.instance);
            }

            return(obj);
        }
Beispiel #3
0
 public FindByPreviewCtrl(FindByPreviewCtrl rhs)
 {
     this.previewAvailableValue = rhs.previewAvailableValue;
     this.previewErrorValue     = rhs.previewErrorValue;
     this.fileExtensionsValue   = rhs.fileExtensionsValue;
 }