1 instantiation of AppHostId
aspire-tray (1)
src\Aspire.Tray\Common\AppHostInfo.cs (1)
11public AppHostId Id => new(AppHostPath, AppHostPid, ProcessStartTimeUnixMilliseconds);
28 references to AppHostId
aspire-tray (28)
NativeSmokeHarness.cs (3)
163foreach (var id in state.AppHosts.Concat(state.RecentAppHosts).Select(host => host.Id)) 421internal ConcurrentBag<AppHostId> Stops { get; } = []; 438public async Task<StopResult> StopAsync(AppHostId id, CancellationToken cancellationToken)
src\Aspire.Tray\Common\AppHostInfo.cs (1)
11public AppHostId Id => new(AppHostPath, AppHostPid, ProcessStartTimeUnixMilliseconds);
src\Aspire.Tray\Common\CliAppHostClient.cs (1)
37public Task<StopResult> StopAsync(AppHostId id, CancellationToken cancellationToken)
src\Aspire.Tray\Common\CliAppHostCommands.cs (2)
17internal static ProcessStartInfo CreateStopStartInfo(string executable, AppHostId target) 105public async Task<StopResult> StopAsync(AppHostId target, CancellationToken cancellationToken)
src\Aspire.Tray\Common\IAppHostClient.cs (3)
9Task<StopResult> StopAsync(AppHostId id, CancellationToken cancellationToken); 17public bool Equals(AppHostId other) 68AppHostId Id,
src\Aspire.Tray\Common\TrayController.cs (7)
17private readonly Dictionary<AppHostId, StopOperation> _stops = []; 19private HashSet<AppHostId> _lastLiveIds = []; 91public AppHostInfo RequireLiveInstance(AppHostId id) 99public Uri GetDashboardUri(AppHostId id) 113public void RequestStop(AppHostId id) 262private AppHostInfo RequireLiveInstanceLocked(AppHostId id) 367private async Task StopAsync(AppHostId id, StopOperation operation)
src\Aspire.Tray\Common\TrayPanel.cs (2)
88private (PanelSection Section, AppHostId Host)? _actions; 163public (PanelSection Section, AppHostId Host)? ActionsRow => _actions;
src\Aspire.Tray\Common\TrayPanelScene.cs (1)
165internal readonly record struct PanelTargetKey(PanelTargetKind Kind, PanelSection Section, AppHostId? Host, int Item = 0);
TrayApplication.Actions.cs (2)
111private AppHostMenuItem RequireCurrentRow(AppHostId id) 189private sealed record ActionTarget(ActionKind Kind, AppHostId Id = default, FolderApplication? Application = null);
TrayApplication.NativeSmoke.cs (5)
204private PanelHitTarget FindPanelTargetForSmoke(PanelTargetKind kind, AppHostId? host, int item = 0) 225internal void ClickPanelForSmoke(PanelTargetKind kind, AppHostId? host = null, int item = 0) 240internal void PressPanelForSmoke(PanelTargetKind kind, AppHostId? host = null) 251internal void PickRowActionForSmoke(AppHostId host, PanelTargetKind kind, int item = 0) 262internal void VerifyActionListForSmoke(AppHostId host)
TrayApplication.Panel.cs (1)
334var id = action.Host?.Id ?? default;