1 write to InstanceId
Aspire.Dashboard (1)
Model\ResourceTypeDetails.cs (1)
16InstanceId = instanceId;
26 references to InstanceId
Aspire.Dashboard (4)
Model\ResourceTypeDetails.cs (4)
31return new ApplicationKey(ReplicaSetName, InstanceId); 51return $"Type = {Type}, InstanceId = {InstanceId}, ReplicaSetName = {ReplicaSetName}"; 61if (Type != other.Type || InstanceId != other.InstanceId || ReplicaSetName != other.ReplicaSetName)
Aspire.Dashboard.Tests (22)
ConsoleLogsTests\CreateResourceSelectModelsTests.cs (6)
54Assert.Null(entry.Id.InstanceId); 63Assert.Equal("App1-r1", entry.Id.InstanceId); 72Assert.Equal("App1-r2", entry.Id.InstanceId); 81Assert.Equal("App2", entry.Id.InstanceId); 89Assert.Equal("App3", entry.Id.InstanceId); 97Assert.Equal("App4", entry.Id.InstanceId);
Model\ApplicationsSelectHelpersTests.cs (16)
35Assert.Null(app.Id!.InstanceId); 41Assert.Equal("app", app.Id!.InstanceId); 47Assert.Equal("app-abc", app.Id!.InstanceId); 53Assert.Equal("singleton-abc", app.Id!.InstanceId); 60Assert.Equal("app-abc", app.Id!.InstanceId); 79Assert.Null(app.Id!.InstanceId); 85Assert.Equal("app", app.Id!.InstanceId); 91Assert.Equal("app-abc", app.Id!.InstanceId); 101Assert.Equal("app", app.Id!.InstanceId); 125Assert.Equal("test-abc", app.Id!.InstanceId); 145Assert.Null(app.Id!.InstanceId); 151Assert.Equal("123", app.Id!.InstanceId); 157Assert.Equal("456", app.Id!.InstanceId); 182Assert.Null(app.Id!.InstanceId); 188Assert.Equal("123", app.Id!.InstanceId); 194Assert.Equal("456", app.Id!.InstanceId);