Exemple #1
0
        public override void write(Object obj1, BOutput bout1, long version)
        {
            base.write(obj1, bout1, version);
            WatchFolderNotifyInfo obj  = (WatchFolderNotifyInfo)obj1;
            BOutputBin            bout = (BOutputBin)bout1;
            BBufferBin            bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt((int)obj.Kind);
            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.FileInfo, false, null);
        }
Exemple #2
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin             bin = (BInputBin)bin1;
            WatchFolderNotifyInfo obj = (WatchFolderNotifyInfo)(obj1 != null ? obj1 : bin.onObjectCreated(new WatchFolderNotifyInfo()));

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

            // checkpoint byps.gen.cs.PrintContext:449
            obj.Kind = (com.wilutions.jsfs.EWatchFolderNotifyKind)bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.FileInfo = (com.wilutions.jsfs.FileInfo)bin.readObj(false, null);

            return(obj);
        }
		public WatchFolderNotifyInfo(WatchFolderNotifyInfo rhs) : base(rhs)
		{
			this.fileInfoValue = rhs.fileInfoValue;
			this.kindValue = rhs.kindValue;
		}		
 public WatchFolderNotifyInfo(WatchFolderNotifyInfo rhs) : base(rhs)
 {
     this.fileInfoValue = rhs.fileInfoValue;
     this.kindValue     = rhs.kindValue;
 }