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