using System.Collections.Generic; using System.IO; namespace Umbraco.Core.Composing { /// /// Paths used to determine the /// public sealed class RuntimeHashPaths { private readonly List _paths = new List(); private readonly Dictionary _files = new Dictionary(); public void AddFolder(DirectoryInfo pathInfo) => _paths.Add(pathInfo); public void AddFile(FileInfo fileInfo, bool scanFileContent = false) => _files.Add(fileInfo, scanFileContent); public IEnumerable GetFolders() => _paths; public IReadOnlyDictionary GetFiles() => _files; } }