Beispiel #1
0
        /// <summary>
        ///     Add BytesSize of all parent directories.
        /// </summary>
        /// <param name="size"></param>
        private void AddBytesSize(long size)
        {
            Interlocked.Add(ref _bytesSize, size);

            if (Parent != null)
            {
                Parent.AddBytesSize(size);
            }
        }