2 writes to Name
Aspire.Dashboard (2)
artifacts\obj\Aspire.Dashboard\Debug\net8.0\ResourceService.cs (2)
4759
Name
= other.Name;
4920
Name
= input.ReadString();
15 references to Name
Aspire.Dashboard (15)
artifacts\obj\Aspire.Dashboard\Debug\net8.0\ResourceService.cs (10)
4536
if (
Name
!= other.
Name
) return false;
4560
if (
Name
.Length != 0) hash ^=
Name
.GetHashCode();
4652
if (
Name
.Length != 0) {
4654
output.WriteString(
Name
);
4709
if (
Name
.Length != 0) {
4710
size += 1 + pb::CodedOutputStream.ComputeStringSize(
Name
);
4758
if (other.
Name
.Length != 0) {
4759
Name = other.
Name
;
ResourceService\DashboardClient.cs (1)
603
_resourceByName[data.
Name
] = data.ToViewModel(_knownPropertyLookup, _logger);
ResourceService\Partials.cs (4)
25
Name = ValidateNotNull(
Name
),
47
throw new InvalidOperationException($@"Error converting resource ""{
Name
}"" to {nameof(ResourceViewModel)}.", ex);
151
logger.LogWarning("Duplicate property '{PropertyName}' found in resource '{ResourceName}'.", propertyViewModel.Name,
Name
);
164
throw new InvalidOperationException($"Message field '{expression}' on resource with name '{
Name
}' cannot be null.");