public virtual IDirectory Refresh(DirectoryRefreshMask mask)
        {
            if ((mask & DirectoryRefreshMask.Attributes) != 0)
            {
                base.Refresh();
            }

            return(this);
        }
		public override IDirectory Refresh(DirectoryRefreshMask mask)
		{
			foreach (var node in this.GetAlternates())
			{
				((IDirectory)node).Refresh(mask);
			}

			SetWrappee(fileSystem.GetOverlay(this.Wrappee.Address, this.Wrappee.NodeType));

			return this;
		}
        public override IDirectory Refresh(DirectoryRefreshMask mask)
        {
            foreach (var node in this.GetAlternates())
            {
                ((IDirectory)node).Refresh(mask);
            }

            SetWrappee(fileSystem.GetOverlay(this.Wrappee.Address, this.Wrappee.NodeType));

            return(this);
        }
		public override IDirectory Refresh(DirectoryRefreshMask mask)
		{
			if ((mask & DirectoryRefreshMask.Children) != 0)				
			{
				lock (this.SyncLock)
				{
					this.directoryRefreshInfo.Left |= mask;
					this.directoryRefreshInfo.Right++;
				}
			}

			return base.Refresh(mask);
		}
        public override IDirectory Refresh(DirectoryRefreshMask mask)
        {
            if ((mask & DirectoryRefreshMask.Children) != 0)
            {
                lock (this.SyncLock)
                {
                    this.directoryRefreshInfo.Left |= mask;
                    this.directoryRefreshInfo.Right++;
                }
            }

            return(base.Refresh(mask));
        }
        public override IDirectory Refresh(DirectoryRefreshMask mask)
        {
            base.Refresh(mask);

            if ((mask & DirectoryRefreshMask.AllChildren) != 0)
            {
                lock (this.SyncLock)
                {
                    this.refreshNodes = true;
                }
            }

            return(this);
        }
		public virtual IDirectory Refresh(DirectoryRefreshMask mask)
		{
			if ((mask & DirectoryRefreshMask.Attributes) != 0)
			{
				base.Refresh();
			}
			
			return this;
		}
Exemple #8
0
        public virtual IDirectory Refresh(DirectoryRefreshMask mask)
        {
            this.Wrappee.Refresh(mask);

            return(this);
        }
		public override IDirectory Refresh(DirectoryRefreshMask mask)
		{
			base.Refresh(mask);

			if ((mask & DirectoryRefreshMask.AllChildren) != 0)
			{
				lock (this.SyncLock)
				{
					this.refreshNodes = true;
				}
			}

			return this;
		}
		public virtual IDirectory Refresh(DirectoryRefreshMask mask)
		{
			this.Wrappee.Refresh(mask);

			return this;
		}