10 instantiations of ShellShimRepository
dotnet (1)
ShellShim\ShellShimRepositoryFactory.cs (1)
15return new ShellShimRepository(nonGlobalLocation ?? GetShimLocation(), appHostSourceDirectory);
dotnet.Tests (9)
CommandTests\Tool\Install\ToolInstallGlobalOrToolPathCommandTests.cs (2)
64(_, nonGlobalLocation) => new ShellShimRepository( 653createShellShimRepository: (_, nonGlobalLocation) => new ShellShimRepository(
CommandTests\Tool\Uninstall\ToolUninstallGlobalOrToolPathCommandTests.cs (3)
142(_, _) => new ShellShimRepository( 247(_, _) => new ShellShimRepository( 273(_, _) => new ShellShimRepository(
CommandTests\Tool\Update\ToolUpdateGlobalOrToolPathCommandTests.cs (1)
476return new ShellShimRepository(
ShellShimTests\ShellShimRepositoryTests.cs (3)
70return new ShellShimRepository(new DirectoryPath(pathToShim), stage2AppHostTemplateDirectory); 102var shellShimRepository = new ShellShimRepository(new DirectoryPath(Path.Combine(testFolder, extraNonExistDirectory)), GetAppHostTemplateFromStage2()); 522return new ShellShimRepository(
10 references to ShellShimRepository
dotnet.Tests (10)
CommandTests\Tool\Update\ToolUpdateGlobalOrToolPathCommandTests.cs (1)
474private ShellShimRepository GetMockedShellShimRepository()
ShellShimTests\ShellShimRepositoryTests.cs (9)
32ShellShimRepository shellShimRepository = ConfigBasicTestDependencyShellShimRepository(pathToShim); 55ShellShimRepository shellShimRepository = ConfigBasicTestDependencyShellShimRepository(relativePathToShim); 66private static ShellShimRepository ConfigBasicTestDependencyShellShimRepository(string pathToShim) 78var shellShimRepository = ConfigBasicTestDependencyShellShimRepository(pathToShim); 102var shellShimRepository = new ShellShimRepository(new DirectoryPath(Path.Combine(testFolder, extraNonExistDirectory)), GetAppHostTemplateFromStage2()); 119var shellShimRepository = ConfigBasicTestDependencyShellShimRepository(pathToShim); 374ShellShimRepository shellShimRepository = GetShellShimRepositoryWithMockMaker(pathToShim); 402ShellShimRepository shellShimRepository = GetShellShimRepositoryWithMockMaker(pathToShim); 520private ShellShimRepository GetShellShimRepositoryWithMockMaker(string pathToShim)