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