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