1 instantiation of ResourceViewModelNameComparer
Aspire.Dashboard (1)
Model\ResourceViewModel.cs (1)
126
public static readonly ResourceViewModelNameComparer Instance =
new
();
7 references to ResourceViewModelNameComparer
Aspire.Dashboard (7)
Components\Pages\ConsoleLogs.razor.cs (2)
342
.OrderBy(c => c.Value,
ResourceViewModelNameComparer
.Instance)
362
foreach (var resource in grouping.Select(g => g.Value).OrderBy(r => r,
ResourceViewModelNameComparer
.Instance))
Components\Pages\Resources.razor.cs (4)
123
private readonly GridSort<ResourceGridViewModel> _nameSort = GridSort<ResourceGridViewModel>.ByAscending(p => p.Resource,
ResourceViewModelNameComparer
.Instance);
124
private readonly GridSort<ResourceGridViewModel> _stateSort = GridSort<ResourceGridViewModel>.ByAscending(p => p.Resource.State).ThenAscending(p => p.Resource,
ResourceViewModelNameComparer
.Instance);
125
private readonly GridSort<ResourceGridViewModel> _startTimeSort = GridSort<ResourceGridViewModel>.ByDescending(p => p.Resource.StartTimeStamp).ThenAscending(p => p.Resource,
ResourceViewModelNameComparer
.Instance);
126
private readonly GridSort<ResourceGridViewModel> _typeSort = GridSort<ResourceGridViewModel>.ByAscending(p => p.Resource.ResourceType).ThenAscending(p => p.Resource,
ResourceViewModelNameComparer
.Instance);
Model\ResourceViewModel.cs (1)
126
public static readonly
ResourceViewModelNameComparer
Instance = new();