2 implementations of IMountPoint
Microsoft.TemplateEngine.Edge (2)
Mount\Archive\ZipFileMountPoint.cs (1)
14internal class ZipFileMountPoint : IMountPoint
Mount\FileSystem\FileSystemMountPoint.cs (1)
13internal class FileSystemMountPoint : IMountPoint
46 references to IMountPoint
Microsoft.TemplateEngine.Abstractions (13)
IGenerator.cs (2)
78Task<IReadOnlyList<IScanTemplateInfo>> GetTemplatesFromMountPointAsync(IMountPoint source, CancellationToken cancellationToken); 99IList<ITemplate> GetTemplatesAndLangpacksFromDir(IMountPoint source, out IList<ILocalizationLocator> localizations);
IScanTemplateInfo.cs (1)
7/// The information about the template obtained as the result of scanning <see cref="IGenerator.GetTemplatesFromMountPointAsync(Mount.IMountPoint, System.Threading.CancellationToken)"/>.
ISettingsLoader.cs (5)
21void AddMountPoint(IMountPoint mountPoint); 36bool TryGetFileFromIdAndPath(Guid mountPointId, string place, out IFile file, out IMountPoint mountPoint); 39bool TryGetMountPointFromPlace(string mountPointPlace, out IMountPoint mountPoint); 54void ReleaseMountPoint(IMountPoint mountPoint); 60void RemoveMountPoint(IMountPoint mountPoint);
Mount\IFileSystemInfo.cs (1)
41IMountPoint MountPoint { get; }
Mount\IMountPointFactory.cs (2)
21bool TryMount(IEngineEnvironmentSettings environmentSettings, IMountPoint? parent, string mountPointUri, out IMountPoint? mountPoint);
Mount\IMountPointManager.cs (1)
11bool TryDemandMountPoint(string mountPointUri, out IMountPoint mountPoint);
TemplatePackage\ITemplatePackage.cs (1)
27/// Supported mount points are defined in <see cref="IMountPoint"/> implementations.
Microsoft.TemplateEngine.Cli (1)
HostSpecificDataLoader.cs (1)
40IMountPoint? mountPoint = null;
Microsoft.TemplateEngine.Edge (29)
Mount\Archive\ZipFileDirectory.cs (1)
13internal ZipFileDirectory(IMountPoint mountPoint, string fullPath, string name)
Mount\Archive\ZipFileFile.cs (1)
14internal ZipFileFile(IMountPoint mountPoint, string fullPath, string name, ZipArchiveEntry? entry)
Mount\Archive\ZipFileMountPoint.cs (2)
18internal ZipFileMountPoint(IEngineEnvironmentSettings environmentSettings, IMountPoint? parent, string mountPointUri, ZipArchive archive) 29public IMountPoint? Parent { get; }
Mount\Archive\ZipFileMountPointFactory.cs (2)
17bool IMountPointFactory.TryMount(IEngineEnvironmentSettings environmentSettings, IMountPoint? parent, string mountPointUri, out IMountPoint? mountPoint)
Mount\DirectoryBase.cs (1)
10protected DirectoryBase(IMountPoint mountPoint, string fullPath, string name)
Mount\FileBase.cs (1)
10protected FileBase(IMountPoint mountPoint, string fullPath, string name)
Mount\FileSystem\FileSystemDirectory.cs (1)
16internal FileSystemDirectory(IMountPoint mountPoint, string fullPath, string name, string physicalPath)
Mount\FileSystem\FileSystemFile.cs (1)
12internal FileSystemFile(IMountPoint mountPoint, string fullPath, string name, string physicalPath)
Mount\FileSystem\FileSystemMountPoint.cs (1)
30public IMountPoint? Parent { get; }
Mount\FileSystem\FileSystemMountPointFactory.cs (2)
15bool IMountPointFactory.TryMount(IEngineEnvironmentSettings environmentSettings, IMountPoint? parent, string mountPointUri, out IMountPoint? mountPoint)
Mount\FileSystemInfoBase.cs (2)
12protected FileSystemInfoBase(IMountPoint mountPoint, string fullPath, string name, FileSystemInfoKind kind) 64public IMountPoint MountPoint { get; }
Settings\Scanner.cs (5)
18/// Utility for scanning <see cref="IMountPoint"/> for templates, localizations and components. 110if (factory.TryMount(_environmentSettings, null, sourceLocation, out IMountPoint? mountPoint)) 201private bool TryCopyForNonFileSystemBasedMountPoints(IMountPoint mountPoint, string sourceLocation, string targetBasePath, bool expandIfArchive, out string? diskPath) 314public MountPointScanSource(string location, IMountPoint mountPoint, bool shouldStayInOriginalLocation, bool foundComponents, bool foundTemplates) 325public IMountPoint MountPoint { get; }
Settings\ScanResult.cs (3)
15IMountPoint mountPoint, 31public IMountPoint MountPoint { get; } 35/// AssemblyPath is full path inside <see cref="IMountPoint"/>.
Settings\TemplateCache.cs (6)
28var templateDeduplicationDictionary = new Dictionary<string, IList<(IScanTemplateInfo Template, ITemplatePackage TemplatePackage, ILocalizationLocator? Localization, IMountPoint MountPoint)>>(); 46templateDeduplicationDictionary[template.Identity] = new List<(IScanTemplateInfo Template, ITemplatePackage TemplatePackage, ILocalizationLocator? Localization, IMountPoint)> 58(IScanTemplateInfo Template, ITemplatePackage TemplatePackage, ILocalizationLocator? Localization, IMountPoint MountPoint) chosenTemplate = duplicatedIdentities.Value.Last(); 173private void PrintOverlappingIdentityWarning(ILogger logger, IDictionary<string, IList<(IScanTemplateInfo Template, ITemplatePackage TemplatePackage, ILocalizationLocator? Localization, IMountPoint)>> templateDeduplicationDictionary) 201private (string, JsonObject?)? GetBestHostConfigMatch(IScanTemplateInfo newTemplate, IEngineEnvironmentSettings settings, IMountPoint mountPoint) 218private JsonObject? ReadHostFile(IScanTemplateInfo template, string path, IEngineEnvironmentSettings settings, IMountPoint mountPoint)
Microsoft.TemplateEngine.Utils (3)
EngineEnvironmentSettingsExtensions.cs (3)
12/// Tries to mount a <see cref="IMountPoint"/> from specified <see cref="Uri"/>. 19public static bool TryGetMountPoint(this IEngineEnvironmentSettings engineEnvironment, string mountPointUri, out IMountPoint? mountPoint) 23if (factory.TryMount(engineEnvironment, null, mountPointUri, out var myMountPoint))