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)
25
internal string BaseDir =>
_environmentSettings
.Paths.HostVersionSettingsDir;
39
if (
_environmentSettings
.Host.FileSystem.FileExists(path))
41
_environmentSettings
.Host.FileSystem.FileCopy(path, targetPath, true);
49
if (
_environmentSettings
.Host.FileSystem.DirectoryExists(p))
64
_environmentSettings
.Host.FileSystem.FileCopy(p, wholeTargetPath, true);
71
if (
_environmentSettings
.Host.FileSystem.DirectoryExists(path))
73
_environmentSettings
.Host.FileSystem.DirectoryDelete(path, true);
75
if (
_environmentSettings
.Host.FileSystem.FileExists(path))
77
_environmentSettings
.Host.FileSystem.FileDelete(path);
83
if (
_environmentSettings
.Host.FileSystem.DirectoryExists(path))
85
return
_environmentSettings
.Host.FileSystem.EnumerateDirectories(path, pattern, searchOption);
93
if (
_environmentSettings
.Host.FileSystem.FileExists(path))
98
if (
_environmentSettings
.Host.FileSystem.DirectoryExists(path))
100
return
_environmentSettings
.Host.FileSystem.EnumerateFiles(ProcessPath(path), pattern, searchOption);
108
if (
_environmentSettings
.Host.FileSystem.FileExists(path))
113
if (
_environmentSettings
.Host.FileSystem.DirectoryExists(path))
115
return
_environmentSettings
.Host.FileSystem.EnumerateFileSystemEntries(ProcessPath(path), pattern, searchOption);
123
return
_environmentSettings
.Host.FileSystem.FileExists(path) ||
_environmentSettings
.Host.FileSystem.DirectoryExists(path);
140
_environmentSettings
.Host.FileSystem.CreateDirectory(current);
156
return Path.Combine(
_environmentSettings
.Paths.UserProfileDir, path.Substring(1));