1 write to Commands
Aspire.Hosting (1)
ApplicationModel\ResourceNotificationService.cs (1)
720return previousState with { Commands = builder.ToImmutable() };
9 references to Commands
Aspire.Hosting (7)
ApplicationModel\ResourceNotificationService.cs (6)
654string.Join(" ", newState.Commands.Select(c => $"{c.Name} ({c.DisplayName}) = {Stringify(c.State)}"))); 678var existingCommand = FindByName(previousState.Commands, annotation.Name); 684builder = ImmutableArray.CreateBuilder<ResourceCommandSnapshot>(previousState.Commands.Length); 685builder.AddRange(previousState.Commands); 700builder = ImmutableArray.CreateBuilder<ResourceCommandSnapshot>(previousState.Commands.Length); 701builder.AddRange(previousState.Commands);
Dashboard\DashboardServiceData.cs (1)
58Commands = snapshot.Commands,
Aspire.Hosting.Tests (2)
WithHttpCommandTests.cs (2)
386var commandSnapshot = resourceEvent.Snapshot.Commands.First(c => c.Name == "mycommand"); 456var commandSnapshot = resourceEvent.Snapshot.Commands.First(c => c.Name == "mycommand");