4 implementations of IWindowsRegistryReader
aspire (2)
Acquisition\IWindowsRegistryReader.cs (2)
33internal sealed class WindowsRegistryReader : IWindowsRegistryReader 125internal sealed class NullWindowsRegistryReader : IWindowsRegistryReader
Aspire.Cli.Tests (2)
Acquisition\WingetRegistryProbeTests.cs (1)
102file sealed class FakeWindowsRegistryReader(bool claim) : IWindowsRegistryReader
TestServices\TestWindowsRegistryReader.cs (1)
8internal sealed class TestWindowsRegistryReader(bool hasWingetAspireUninstallEntry = false) : IWindowsRegistryReader
8 references to IWindowsRegistryReader
aspire (6)
Acquisition\InstallSourceDetector.cs (1)
16IWindowsRegistryReader registryReader,
Acquisition\IWindowsRegistryReader.cs (2)
30/// Production <see cref="IWindowsRegistryReader"/>. 123/// Non-Windows <see cref="IWindowsRegistryReader"/>. Always returns <see langword="false"/>.
Acquisition\WingetFirstRunProbe.cs (2)
18private readonly IWindowsRegistryReader _registry; 21public WingetFirstRunProbe(IWindowsRegistryReader registry, ILogger<WingetFirstRunProbe> logger)
Program.cs (1)
385builder.Services.AddSingleton<IWindowsRegistryReader>(sp =>
Aspire.Cli.Tests (2)
Acquisition\InstallSourceDetectorTests.cs (1)
275private InstallSourceDetector CreateDetector(string? processPath, IEnvironment environment, IWindowsRegistryReader? registry = null)
Utils\CliTestHelper.cs (1)
229services.AddSingleton<IWindowsRegistryReader, NullWindowsRegistryReader>();