Esempio n. 1
0
 public IEnumerable <Deletion> Items()
 {
     return(_patches.Items()
            .SelectMany(HunkDeletions)
            .GroupBy(DeletionAuthor)
            .Select(Deletion));
 }
Esempio n. 2
0
        public IEnumerable <FilePatch> Items()
        {
            if (_items is object)
            {
                return(_items);
            }

            lock (_lock)
            {
                return(_items ??= _origin.Items());
            }
        }
Esempio n. 3
0
 public uint Count()
 {
     return((uint)_patches.Items()
            .Sum(PatchAdditions));
 }
Esempio n. 4
0
        public IEnumerable <FilePatch> Items()
        {
            Task.Delay(_delay).ConfigureAwait(false).GetAwaiter().GetResult();

            return(_origin.Items());
        }