1 write to Commands
Aspire.Hosting (1)
ApplicationModel\ResourceNotificationService.cs (1)
658return previousState with { Commands = builder.ToImmutable() };
9 references to Commands
Aspire.Hosting (7)
ApplicationModel\ResourceNotificationService.cs (6)
576JoinIndentLines(newState.Commands.Select(c => $"{c.DisplayName} ({c.Name}) = {Stringify(c.State)}"))); 616var existingCommand = FindByName(previousState.Commands, annotation.Name); 622builder = ImmutableArray.CreateBuilder<ResourceCommandSnapshot>(previousState.Commands.Length); 623builder.AddRange(previousState.Commands); 638builder = ImmutableArray.CreateBuilder<ResourceCommandSnapshot>(previousState.Commands.Length); 639builder.AddRange(previousState.Commands);
Dashboard\DashboardServiceData.cs (1)
52Commands = snapshot.Commands
Aspire.Hosting.Tests (2)
WithHttpCommandTests.cs (2)
373var commandSnapshot = resourceEvent.Snapshot.Commands.First(c => c.Name == "mycommand"); 442var commandSnapshot = resourceEvent.Snapshot.Commands.First(c => c.Name == "mycommand");