11 references to GetResourcePropertyValue
Aspire.Dashboard (11)
Components\Layout\ResourcesLayout.razor.cs (3)
1631
var parentName = resource.
GetResourcePropertyValue
(KnownProperties.Resource.ParentName);
1759
if (resource.
GetResourcePropertyValue
(KnownProperties.Resource.ParentName) is { Length: > 0 } parentName)
1906
var parentName = resource.
GetResourcePropertyValue
(KnownProperties.Resource.ParentName);
Components\Legacy\Pages\Resources.razor.cs (3)
771
if (current.
GetResourcePropertyValue
(KnownProperties.Resource.ParentName) is { Length: > 0 } value)
898
.Where(r => _resourceByName.Values.Any(nested => nested.
GetResourcePropertyValue
(KnownProperties.Resource.ParentName) == r.Name))
936
return _resourceByName.Values.Any(r => !string.IsNullOrEmpty(r.
GetResourcePropertyValue
(KnownProperties.Resource.ParentName)));
Components\Pages\Resources.razor.cs (3)
834
if (current.
GetResourcePropertyValue
(KnownProperties.Resource.ParentName) is { Length: > 0 } value)
961
.Where(r => _resourceByName.Values.Any(nested => nested.
GetResourcePropertyValue
(KnownProperties.Resource.ParentName) == r.Name))
999
return _resourceByName.Values.Any(r => !string.IsNullOrEmpty(r.
GetResourcePropertyValue
(KnownProperties.Resource.ParentName)));
Model\ResourceGridViewModel.cs (2)
60
foreach (var childGridVM in initialGridVMs.Where(r => r.Resource.
GetResourcePropertyValue
(KnownProperties.Resource.ParentName) == resource.Name))
75
var parentName = gridViewModel.Resource.
GetResourcePropertyValue
(KnownProperties.Resource.ParentName);