4 writes to ProbeCallback
Aspire.Cli.Tests (4)
Acquisition\InstallSourceDetectorTests.cs (3)
105ProbeCallback = path => 123ProbeCallback = _ => throw new InvalidOperationException("The registry must not be read on Unix.") 136ProbeCallback = _ => throw new UnauthorizedAccessException()
ProgramTests.cs (1)
85ProbeCallback = _ => throw new InvalidOperationException("No install probe should run without an activity.")
1 reference to ProbeCallback
Aspire.Cli.Tests (1)
TestServices\TestWindowsRegistryReader.cs (1)
12public bool HasWingetAspireUninstallEntry(string processPath) => ProbeCallback?.Invoke(processPath) ?? hasWingetAspireUninstallEntry;