TerrificNet.ViewEngine.IO.FileSystem.Initialize C# (CSharp) Méthode

Initialize() private méthode

private Initialize ( ) : void
Résultat void
		private void Initialize()
		{
			_fileInfo = new HashSet<PathInfo>(
				Directory.EnumerateFiles(_basePathConverted, "*", SearchOption.AllDirectories)
					.Select(fileName => PathInfo.GetSubPath(_basePath, fileName)));

			_fileInfoCache = _fileInfo.ToDictionary(i => GetRootPath(i), i => FileInfo.Create(GetRootPath(i)));

			_directoryInfo = new HashSet<PathInfo>(
				Directory.EnumerateDirectories(_basePathConverted, "*", SearchOption.AllDirectories)
					.Select(fileName => PathInfo.GetSubPath(_basePath, fileName)));
		}