10 references to ResourceName
Aspire.Dashboard (10)
Components\Controls\ResourceDetails.razor.cs (1)
75
if (!string.Equals(Resource.Name, _resource?.Name, StringComparisons.
ResourceName
))
Model\Otlp\ApplicationsSelectHelpers.cs (1)
17
var matches = applications.Where(e => SupportType(e.Id?.Type, canSelectGrouping) && string.Equals(name, e.Name, StringComparisons.
ResourceName
)).ToList();
Model\ResourceViewModel.cs (1)
107
if (string.Equals(item.DisplayName, resource.DisplayName, StringComparisons.
ResourceName
))
Otlp\Model\OtlpApplication.cs (1)
160
if (string.Equals(item.ApplicationName, app.ApplicationName, StringComparisons.
ResourceName
))
Otlp\Storage\ApplicationKey.cs (5)
10
var c = string.Compare(Name, other.Name, StringComparisons.
ResourceName
);
16
return string.Compare(InstanceId, other.InstanceId, StringComparisons.
ResourceName
);
34
if (!name.AsSpan(0, Name.Length).Equals(Name, StringComparisons.
ResourceName
))
42
if (!name.AsSpan(Name.Length + 1, InstanceId.Length).Equals(InstanceId, StringComparisons.
ResourceName
))
51
return string.Equals(Name, name, StringComparisons.
ResourceName
);
Otlp\Storage\TelemetryRepository.cs (1)
97
results = results.Where(a => string.Equals(a.ApplicationKey.Name, name, StringComparisons.
ResourceName
));