1 instantiation of ResourceViewModelNameComparer
Aspire.Dashboard (1)
Model\ResourceViewModel.cs (1)
113
public static readonly ResourceViewModelNameComparer Instance =
new
();
5 references to ResourceViewModelNameComparer
Aspire.Dashboard (5)
Components\Pages\ConsoleLogs.razor.cs (2)
241
.OrderBy(c => c.Value,
ResourceViewModelNameComparer
.Instance)
261
foreach (var resource in grouping.Select(g => g.Value).OrderBy(r => r,
ResourceViewModelNameComparer
.Instance))
Components\Pages\Resources.razor.cs (2)
135
private IQueryable<ResourceViewModel>? FilteredResources => _resourceByName.Values.Where(Filter).OrderBy(e => e.ResourceType).ThenBy(e => e,
ResourceViewModelNameComparer
.Instance).AsQueryable();
137
private readonly GridSort<ResourceViewModel> _nameSort = GridSort<ResourceViewModel>.ByAscending(p => p,
ResourceViewModelNameComparer
.Instance);
Model\ResourceViewModel.cs (1)
113
public static readonly
ResourceViewModelNameComparer
Instance = new();