20 references to StringComparers
Aspire.Dashboard (20)
Components\Dialogs\FilterDialog.razor.cs (1)
96.ThenBy(v => v.Value, StringComparers.OtlpFieldValue)
Components\Resize\GridColumnManager.razor.cs (1)
30_columnById = Columns.ToDictionary(c => c.Name, StringComparers.GridColumn);
Extensions\FluentUIExtensions.cs (2)
15var attributes = new Dictionary<string, object>(StringComparers.HtmlAttribute) 33var attributes = new Dictionary<string, object>(StringComparers.HtmlAttribute)
Model\Otlp\ApplicationsSelectHelpers.cs (1)
80var sortedVMs = selectViewModels.OrderBy(vm => vm.Name, StringComparers.ResourceName).ToList();
Model\ResourceEndpointHelpers.cs (1)
41.ThenBy(e => e.Name, StringComparers.EndpointAnnotationName)
Model\ResourceOutgoingPeerResolver.cs (1)
14private readonly ConcurrentDictionary<string, ResourceViewModel> _resourceByName = new(StringComparers.ResourceName);
Model\ResourceViewModelExtensions.cs (4)
14return StringComparers.ResourceType.Equals(resource.ResourceType, KnownResourceTypes.Container); 19return StringComparers.ResourceType.Equals(resource.ResourceType, KnownResourceTypes.Project); 24if (StringComparers.ResourceType.Equals(resource.ResourceType, KnownResourceTypes.Executable)) 31return StringComparers.ResourceType.Equals(resource.ResourceType, KnownResourceTypes.Project);
Otlp\Model\OtlpApplication.cs (3)
148.GroupBy(application => application.ApplicationName, StringComparers.ResourceName) 244hashCode.Add(StringComparers.OtlpAttribute.GetHashCode(obj[i].Key)); 245hashCode.Add(StringComparers.OtlpAttribute.GetHashCode(obj[i].Value));
Otlp\Model\OtlpSpanCollection.cs (1)
13public OtlpSpanCollection() : base(StringComparers.OtlpSpanId, DictionaryCreationThreshold)
Otlp\Storage\TelemetryRepository.cs (2)
573var attributesValues = new Dictionary<string, int>(StringComparers.OtlpAttribute); 603var attributesValues = new Dictionary<string, int>(StringComparers.OtlpAttribute);
ResourceService\DashboardClient.cs (1)
42private readonly Dictionary<string, ResourceViewModel> _resourceByName = new(StringComparers.ResourceName);
ResourceService\Partials.cs (1)
30keyComparer: StringComparers.ResourcePropertyName,
src\Shared\Model\KnownProperties.cs (1)
11/// Should be compared using <see cref="StringComparers.ResourcePropertyName"/>.