1 write to Commands
Aspire.Hosting (1)
ApplicationModel\ResourceNotificationService.cs (1)
659
return previousState with {
Commands
= builder.ToImmutable() };
9 references to Commands
Aspire.Hosting (7)
ApplicationModel\ResourceNotificationService.cs (6)
593
string.Join(" ", newState.
Commands
.Select(c => $"{c.Name} ({c.DisplayName}) = {Stringify(c.State)}")));
617
var existingCommand = FindByName(previousState.
Commands
, annotation.Name);
623
builder = ImmutableArray.CreateBuilder<ResourceCommandSnapshot>(previousState.
Commands
.Length);
624
builder.AddRange(previousState.
Commands
);
639
builder = ImmutableArray.CreateBuilder<ResourceCommandSnapshot>(previousState.
Commands
.Length);
640
builder.AddRange(previousState.
Commands
);
Dashboard\DashboardServiceData.cs (1)
58
Commands = snapshot.
Commands
,
Aspire.Hosting.Tests (2)
WithHttpCommandTests.cs (2)
387
var commandSnapshot = resourceEvent.Snapshot.
Commands
.First(c => c.Name == "mycommand");
457
var commandSnapshot = resourceEvent.Snapshot.
Commands
.First(c => c.Name == "mycommand");