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