1 write to Type
Aspire.Dashboard (1)
Model\ResourceTypeDetails.cs (1)
15
Type
= type;
28 references to Type
Aspire.Dashboard (5)
Model\Otlp\ApplicationsSelectHelpers.cs (2)
17
var allowedMatches = applications.Where(e => SupportType(e.Id?.
Type
, canSelectGrouping)).ToList();
28
var replicaSetMatches = allowedMatches.Where(e => e.Id?.
Type
!= OtlpApplicationType.Instance && string.Equals(name, e.Id?.ReplicaSetName, StringComparisons.ResourceName)).ToList();
Model\ResourceTypeDetails.cs (3)
55
return $"Type = {
Type
}, InstanceId = {InstanceId}, ReplicaSetName = {ReplicaSetName}";
65
if (
Type
!= other.
Type
|| InstanceId != other.InstanceId || ReplicaSetName != other.ReplicaSetName)
Aspire.Dashboard.Tests (23)
ConsoleLogsTests\CreateResourceSelectModelsTests.cs (6)
53
Assert.Equal(OtlpApplicationType.ResourceGrouping, entry.Id.
Type
);
62
Assert.Equal(OtlpApplicationType.Instance, entry.Id.
Type
);
71
Assert.Equal(OtlpApplicationType.Instance, entry.Id.
Type
);
80
Assert.Equal(OtlpApplicationType.Singleton, entry.Id.
Type
);
88
Assert.Equal(OtlpApplicationType.Singleton, entry.Id.
Type
);
96
Assert.Equal(OtlpApplicationType.Singleton, entry.Id.
Type
);
Model\ApplicationsSelectHelpersTests.cs (17)
34
Assert.Equal(OtlpApplicationType.ResourceGrouping, app.Id!.
Type
);
40
Assert.Equal(OtlpApplicationType.Instance, app.Id!.
Type
);
46
Assert.Equal(OtlpApplicationType.Instance, app.Id!.
Type
);
52
Assert.Equal(OtlpApplicationType.Singleton, app.Id!.
Type
);
61
Assert.Equal(OtlpApplicationType.Instance, app.Id!.
Type
);
78
Assert.Equal(OtlpApplicationType.ResourceGrouping, app.Id!.
Type
);
84
Assert.Equal(OtlpApplicationType.Instance, app.Id!.
Type
);
90
Assert.Equal(OtlpApplicationType.Instance, app.Id!.
Type
);
102
Assert.Equal(OtlpApplicationType.Instance, app.Id!.
Type
);
126
Assert.Equal(OtlpApplicationType.Singleton, app.Id!.
Type
);
144
Assert.Equal(OtlpApplicationType.ResourceGrouping, app.Id!.
Type
);
150
Assert.Equal(OtlpApplicationType.Instance, app.Id!.
Type
);
156
Assert.Equal(OtlpApplicationType.Instance, app.Id!.
Type
);
181
Assert.Equal(OtlpApplicationType.ResourceGrouping, app.Id!.
Type
);
187
Assert.Equal(OtlpApplicationType.Instance, app.Id!.
Type
);
193
Assert.Equal(OtlpApplicationType.Instance, app.Id!.
Type
);
202
Assert.Equal(OtlpApplicationType.ResourceGrouping, app.Id!.
Type
);