5 references to GetResourcePropertyValue
Aspire.Dashboard (5)
Components\Pages\Resources.razor.cs (3)
578
if (current.
GetResourcePropertyValue
(KnownProperties.Resource.ParentName) is { Length: > 0 } value)
700
.Where(r => _resourceByName.Values.Any(nested => nested.
GetResourcePropertyValue
(KnownProperties.Resource.ParentName) == r.Name))
738
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);