1 write to KnownProperty
Aspire.Dashboard (1)
Model\ResourceViewModel.cs (1)
276
KnownProperty
= knownProperty;
5 references to KnownProperty
Aspire.Dashboard (5)
Components\Controls\ResourceDetails.razor.cs (2)
28
private bool IsSpecOnlyToggleDisabled => !Resource.Environment.All(i => !i.FromSpec) && !GetResourceProperties(ordered: false).Any(static vm => vm.
KnownProperty
is null);
69
.Where(vm => (_showAll || vm.
KnownProperty
!= null) && vm.MatchesFilter(_filter))
Model\ResourceViewModel.cs (3)
264
string IPropertyGridItem.Name =>
KnownProperty
?.DisplayName ?? Name;
281
_key =
KnownProperty
!= null ?
KnownProperty
.Key : $"unknown-{Name}";