2 writes to IconName
Aspire.Hosting (1)
ApplicationModel\ResourceNotificationService.cs (1)
1190IconName = newIconName,
Aspire.Hosting.Tests (1)
ResourceNotificationTests.cs (1)
1061IconName = "ExistingIcon",
10 references to IconName
Aspire.Hosting (6)
ApplicationModel\CustomResourceSnapshot.cs (2)
192IconName != other.IconName ||
ApplicationModel\ResourceNotificationService.cs (3)
1179var newIconName = string.IsNullOrEmpty(previousState.IconName) ? iconAnnotation.IconName : previousState.IconName; 1183if (previousState.IconName == newIconName && previousState.IconVariant == newIconVariant)
Dashboard\DashboardServiceData.cs (1)
89IconName = snapshot.IconName,
Aspire.Hosting.Tests (4)
ResourceNotificationTests.cs (4)
1077Assert.Equal("ExistingIcon", firstEvent.Snapshot.IconName); 1082Assert.Equal("ExistingIcon", secondEvent.Snapshot.IconName); 1119Assert.Equal("LastIcon", value.Snapshot.IconName); 1155Assert.Equal("AnnotationIcon", value.Snapshot.IconName);