9 references to ResourceGrouping
Aspire.Dashboard (3)
Components\Pages\ConsoleLogs.razor.cs (1)
190
PageViewModel.SelectedOption = _resources.Single(option => option.Id?.Type is not OtlpApplicationType.
ResourceGrouping
&& string.Equals(ResourceName, option.Id?.InstanceId, StringComparison.Ordinal));
Model\Otlp\ApplicationsSelectHelpers.cs (1)
91
if (canSelectGrouping && type is OtlpApplicationType.
ResourceGrouping
)
Model\ResourceTypeDetails.cs (1)
36
return new ResourceTypeDetails(OtlpApplicationType.
ResourceGrouping
, instanceId: null, replicaSetName: isReplicaSet ? groupingName : null);
Aspire.Dashboard.Tests (6)
ConsoleLogsTests\CreateResourceSelectModelsTests.cs (1)
53
Assert.Equal(OtlpApplicationType.
ResourceGrouping
, entry.Id.Type);
Model\ApplicationsSelectHelpersTests.cs (5)
34
Assert.Equal(OtlpApplicationType.
ResourceGrouping
, app.Id!.Type);
78
Assert.Equal(OtlpApplicationType.
ResourceGrouping
, app.Id!.Type);
144
Assert.Equal(OtlpApplicationType.
ResourceGrouping
, app.Id!.Type);
181
Assert.Equal(OtlpApplicationType.
ResourceGrouping
, app.Id!.Type);
202
Assert.Equal(OtlpApplicationType.
ResourceGrouping
, app.Id!.Type);