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