1 implementation of MountPoint
Microsoft.TemplateEngine.Edge (1)
Mount\FileSystemInfoBase.cs (1)
64
public IMountPoint
MountPoint
{ get; }
19 references to MountPoint
Microsoft.TemplateEngine.Abstractions (1)
Mount\IFileSystemInfo.cs (1)
19
/// Gets the path to file system entry inside mount point <see cref="
MountPoint
"/>.
Microsoft.TemplateEngine.Orchestrator.RunnableProjects (9)
DirectoryBasedTemplate.Interfaces.cs (1)
39
string ITemplateLocator.MountPointUri => ConfigFile?.
MountPoint
.MountPointUri ?? throw new InvalidOperationException($"{nameof(ConfigFile)} should be set in order to continue");
GlobalRunSpec.cs (2)
97
IReadOnlyList<IOperationProvider> defaultOperations = SetupOperations(templateRoot.
MountPoint
.EnvironmentSettings, variables, runConfig);
142
ITemplateEngineHost host = templateRoot.
MountPoint
.EnvironmentSettings.Host;
RunnableProjectConfig.cs (2)
61
SourceMountPoint = templateFile.
MountPoint
;
84
SourceMountPoint = templateSource.
MountPoint
;
RunnableProjectConfig.ITemplate.cs (1)
18
string ITemplateLocator.MountPointUri => ConfigFile?.
MountPoint
.MountPointUri ?? throw new InvalidOperationException("Configuration file is not initialized, are you using test constructor?");
RunnableProjectGenerator.cs (3)
257
ILogger logger = templateFileConfig.
MountPoint
.EnvironmentSettings.Host.LoggerFactory.CreateLogger<RunnableProjectGenerator>();
270
RunnableProjectConfig loadedTemplate = new RunnableProjectConfig(templateFileConfig.
MountPoint
.EnvironmentSettings, this, templateFile, hostTemplateConfigFile, localeFile, baselineName);
462
public string MountPointUri => _templateInfo.ConfigFile.
MountPoint
.MountPointUri;
Microsoft.TemplateEngine.Utils (9)
FileSystemInfoExtensions.cs (5)
12
source.
MountPoint
.EnvironmentSettings.Host.FileSystem.CreateDirectory(target);
16
using Stream f = source.
MountPoint
.EnvironmentSettings.Host.FileSystem.CreateFile(Path.Combine(target, file.Name));
50
return info.
MountPoint
.FileInfo(fullPath);
56
return info.
MountPoint
.DirectoryInfo(fullPath);
62
return info.
MountPoint
.FileSystemInfo(fullPath);
IFileSystemInfoExtensions.cs (4)
23
if (fileSystemInfo.
MountPoint
.EnvironmentSettings.Host.FileSystem.DirectoryExists(fileSystemInfo.
MountPoint
.MountPointUri))
26
result = Path.Combine(fileSystemInfo.
MountPoint
.MountPointUri, fileSystemInfo.FullPath.Trim('/', '\\'));
31
result = $"{fileSystemInfo.
MountPoint
.MountPointUri}({fileSystemInfo.FullPath})";