Implemented interface member:
method
Find
Microsoft.DotNet.Cli.ToolManifest.IToolManifestFinder.Find(Microsoft.Extensions.EnvironmentAbstractions.FilePath?)
25 references to Find
dotnet.Tests (25)
CommandTests\Tool\Install\ToolInstallLocalCommandTests.cs (4)
196_toolManifestFinder.Find(new FilePath(explicitManifestFilePath)).Should().HaveCount(1); 333var manifestPackages = _toolManifestFinder.Find(); 413var manifestPackages = _toolManifestFinder.Find(); 558var manifestPackages = _toolManifestFinder.Find();
CommandTests\Tool\Update\ToolUpdateLocalCommandTests.cs (1)
408IReadOnlyCollection<ToolManifestPackage> manifestPackages = _toolManifestFinder.Find(manifestFile);
ToolManifestTests\ToolManifestFinderTests.cs (20)
55var manifestResult = toolManifest.Find(); 71var manifestResult = toolManifest.Find(); 88var manifestResult = toolManifest.Find(); 110var manifestResult = toolManifest.Find(); 148Action a = () => toolManifest.Find(); 179var manifestResult = toolManifest.Find(); 211Action a = () => toolManifest.Find(); 230toolManifest.Find(new FilePath(Path.Combine(_testDirectoryRoot, customFileName))); 255Action a = () => toolManifest.Find(new FilePath(Path.Combine(_testDirectoryRoot, "non-exists"))); 271Action a = () => toolManifest.Find(); 286Action a = () => toolManifest.Find(); 306Action a = () => toolManifest.Find(); 323Action a = () => toolManifest.Find(); 340Action a = () => toolManifest.Find(); 360var manifestResult = toolManifest.Find(); 458var manifestResult = toolManifest.Find(); 473Action a = () => toolManifest.Find(); 490Action a = () => toolManifest.Find(); 650var manifestResult = toolManifest.Find(); 664Action a = () => toolManifest.Find();