1 write to _environmentSettings
Microsoft.TemplateEngine.Edge (1)
Settings\SettingsFilePaths.cs (1)
20_environmentSettings = environmentSettings;
21 references to _environmentSettings
Microsoft.TemplateEngine.Edge (21)
Settings\SettingsFilePaths.cs (21)
25internal string BaseDir => _environmentSettings.Paths.HostVersionSettingsDir; 39if (_environmentSettings.Host.FileSystem.FileExists(path)) 41_environmentSettings.Host.FileSystem.FileCopy(path, targetPath, true); 49if (_environmentSettings.Host.FileSystem.DirectoryExists(p)) 64_environmentSettings.Host.FileSystem.FileCopy(p, wholeTargetPath, true); 71if (_environmentSettings.Host.FileSystem.DirectoryExists(path)) 73_environmentSettings.Host.FileSystem.DirectoryDelete(path, true); 75if (_environmentSettings.Host.FileSystem.FileExists(path)) 77_environmentSettings.Host.FileSystem.FileDelete(path); 83if (_environmentSettings.Host.FileSystem.DirectoryExists(path)) 85return _environmentSettings.Host.FileSystem.EnumerateDirectories(path, pattern, searchOption); 93if (_environmentSettings.Host.FileSystem.FileExists(path)) 98if (_environmentSettings.Host.FileSystem.DirectoryExists(path)) 100return _environmentSettings.Host.FileSystem.EnumerateFiles(ProcessPath(path), pattern, searchOption); 108if (_environmentSettings.Host.FileSystem.FileExists(path)) 113if (_environmentSettings.Host.FileSystem.DirectoryExists(path)) 115return _environmentSettings.Host.FileSystem.EnumerateFileSystemEntries(ProcessPath(path), pattern, searchOption); 123return _environmentSettings.Host.FileSystem.FileExists(path) || _environmentSettings.Host.FileSystem.DirectoryExists(path); 140_environmentSettings.Host.FileSystem.CreateDirectory(current); 156return Path.Combine(_environmentSettings.Paths.UserProfileDir, path.Substring(1));