예제 #1
0
        private void WriteLibYears(IReadOnlyCollection <PackageUpdateSet> updates)
        {
            var totalAge     = Age.Sum(updates);
            var displayValue = Age.AsLibYears(totalAge);

            _writer.WriteLine($"LibYears: {displayValue}");
        }
        public void Write(string name, IReadOnlyCollection <PackageUpdateSet> updates)
        {
            var totalAge = Age.Sum(updates);

            _writer.WriteLine(Age.AsLibYears(totalAge));
        }