1 write to Commands
Aspire.Hosting (1)
ApplicationModel\ResourceNotificationService.cs (1)
634
return previousState with {
Commands
= builder.ToImmutable() };
9 references to Commands
Aspire.Hosting (7)
ApplicationModel\ResourceNotificationService.cs (6)
567
string.Join(" ", newState.
Commands
.Select(c => $"{c.DisplayName} ({c.Name}) = {Stringify(c.State)}")),
592
var existingCommand = FindByName(previousState.
Commands
, annotation.Name);
598
builder = ImmutableArray.CreateBuilder<ResourceCommandSnapshot>(previousState.
Commands
.Length);
599
builder.AddRange(previousState.
Commands
);
614
builder = ImmutableArray.CreateBuilder<ResourceCommandSnapshot>(previousState.
Commands
.Length);
615
builder.AddRange(previousState.
Commands
);
Dashboard\DashboardServiceData.cs (1)
52
Commands = snapshot.
Commands
,
Aspire.Hosting.Tests (2)
WithHttpCommandTests.cs (2)
417
var commandSnapshot = resourceEvent.Snapshot.
Commands
.First(c => c.Name == "mycommand");
486
var commandSnapshot = resourceEvent.Snapshot.
Commands
.First(c => c.Name == "mycommand");