2 implementations of EnvironmentSettings
Microsoft.TemplateEngine.Edge (2)
Mount\Archive\ZipFileMountPoint.cs (1)
33
public IEngineEnvironmentSettings
EnvironmentSettings
{ get; }
Mount\FileSystem\FileSystemMountPoint.cs (1)
28
public IEngineEnvironmentSettings
EnvironmentSettings
{ get; }
13 references to EnvironmentSettings
Microsoft.TemplateEngine.Edge (4)
Mount\FileSystem\FileSystemDirectory.cs (2)
20
_paths = new SettingsFilePaths(mountPoint.
EnvironmentSettings
);
21
_fileSystem = mountPoint.
EnvironmentSettings
.Host.FileSystem;
Mount\FileSystem\FileSystemFile.cs (2)
18
public override bool Exists => MountPoint.
EnvironmentSettings
.Host.FileSystem.FileExists(_physicalPath);
22
return MountPoint.
EnvironmentSettings
.Host.FileSystem.OpenRead(_physicalPath);
Microsoft.TemplateEngine.Orchestrator.RunnableProjects (6)
GlobalRunSpec.cs (2)
97
IReadOnlyList<IOperationProvider> defaultOperations = SetupOperations(templateRoot.MountPoint.
EnvironmentSettings
, variables, runConfig);
142
ITemplateEngineHost host = templateRoot.MountPoint.
EnvironmentSettings
.Host;
RunnableProjectGenerator.cs (4)
257
ILogger logger = templateFileConfig.MountPoint.
EnvironmentSettings
.Host.LoggerFactory.CreateLogger<RunnableProjectGenerator>();
270
RunnableProjectConfig loadedTemplate = new RunnableProjectConfig(templateFileConfig.MountPoint.
EnvironmentSettings
, this, templateFile, hostTemplateConfigFile, localeFile, baselineName);
336
ILogger logger = source.
EnvironmentSettings
.Host.LoggerFactory.CreateLogger<RunnableProjectGenerator>();
346
var discoveredTemplate = new ScannedTemplateInfo(source.
EnvironmentSettings
, this, file);
Microsoft.TemplateEngine.Utils (3)
FileSystemInfoExtensions.cs (2)
12
source.MountPoint.
EnvironmentSettings
.Host.FileSystem.CreateDirectory(target);
16
using Stream f = source.MountPoint.
EnvironmentSettings
.Host.FileSystem.CreateFile(Path.Combine(target, file.Name));
IFileSystemInfoExtensions.cs (1)
23
if (fileSystemInfo.MountPoint.
EnvironmentSettings
.Host.FileSystem.DirectoryExists(fileSystemInfo.MountPoint.MountPointUri))