1 instantiation of StopOperation
Aspire.Tray.Tests (1)
src\Aspire.Tray\Common\TrayController.cs (1)
149
var operation = new
StopOperation
();
6 references to StopOperation
Aspire.Tray.Tests (6)
src\Aspire.Tray\Common\TrayController.cs (6)
17
private readonly Dictionary<AppHostId,
StopOperation
> _stops = [];
144
if (_stops.TryGetValue(id, out
var
existing) && existing.Result is null)
149
var
operation = new StopOperation();
289
if (_stops.TryGetValue(id, out
var
operation) && operation.Result?.Outcome == StopOutcome.Stopped)
387
private async Task StopAsync(AppHostId id,
StopOperation
operation)
594
_stops.TryGetValue(host.Id, out
var
stop);