1 instantiation of ScanResult
Microsoft.TemplateEngine.Edge (1)
Settings\Scanner.cs (1)
254return new ScanResult(source.MountPoint, templates, localizationLocators, []);
14 references to ScanResult
Microsoft.TemplateEngine.Edge (14)
Settings\Scanner.cs (9)
37/// The mount point will not be disposed by the <see cref="Scanner"/>. Use <see cref="ScanResult.Dispose"/> to dispose mount point. 40public ScanResult Scan(string mountPointUri) 49/// The mount point will not be disposed by the <see cref="Scanner"/>. Use <see cref="ScanResult.Dispose"/> to dispose mount point. 53public ScanResult Scan(string mountPointUri, bool scanForComponents) 72/// The mount point will not be disposed by the <see cref="Scanner"/>. Use <see cref="ScanResult.Dispose"/> to dispose mount point. 74public Task<ScanResult> ScanAsync(string mountPointUri, CancellationToken cancellationToken) 89/// The mount point will not be disposed by the <see cref="Scanner"/>. Use <see cref="ScanResult.Dispose"/> to dispose mount point. 91public Task<ScanResult> ScanAsync( 228private async Task<ScanResult> ScanMountPointForTemplatesAsync(
Settings\TemplateCache.cs (2)
21public TemplateCache(IReadOnlyList<ITemplatePackage> allTemplatePackages, ScanResult?[] scanResults, Dictionary<string, DateTime> mountPoints, IEngineEnvironmentSettings environmentSettings) 29foreach (var scanResult in scanResults)
Settings\TemplatePackageManager.cs (3)
352var scanResults = new ScanResult?[allTemplatePackages.Count]; 357var scanResult = await _installScanner.ScanAsync(allTemplatePackages[index].MountPointUri, cancellationToken).ConfigureAwait(false); 368foreach (var scanResult in scanResults)