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