7 implementations of IPropertyGridItem
Aspire.Dashboard (7)
Model\ResourceUrlHelpers.cs (1)
63public sealed class DisplayedUrl : IPropertyGridItem
Model\ResourceViewModel.cs (3)
283public sealed class EnvironmentVariableViewModel : IPropertyGridItem 305public sealed class DisplayedResourcePropertyViewModel : IPropertyGridItem 425public sealed record class VolumeViewModel(int index, string Source, string Target, string MountType, bool IsReadOnly) : IPropertyGridItem
Model\TelemetryPropertyViewModel.cs (1)
8public sealed class TelemetryPropertyViewModel : IPropertyGridItem
Otlp\Model\OtlpSpanEvent.cs (2)
8public class OtlpSpanAttributeItem(string name, string value) : IPropertyGridItem 14public class OtlpSpanEvent(OtlpSpan span) : IPropertyGridItem
22 references to IPropertyGridItem
Aspire.Dashboard (22)
Components\Controls\PropertyGrid.razor.cs (3)
85public partial class PropertyGrid<TItem> where TItem : IPropertyGridItem 111/// Gets and sets the sorting behavior of the name column. Defaults to sorting on <see cref="IPropertyGridItem.Name"/>. 117/// Gets and sets the sorting behavior of the value column. Defaults to sorting on <see cref="IPropertyGridItem.Value"/>.
Components\Controls\ResourceDetails.razor.cs (6)
50private IEnumerable<IPropertyGridItem> SensitiveGridItems => Resource.Environment.Cast<IPropertyGridItem>().Concat(_displayedResourcePropertyViewModels).Where(static vm => vm.IsValueSensitive); 62.Where(vm => (_showAll || vm.FromSpec) && ((IPropertyGridItem)vm).MatchesFilter(_filter)) 139foreach (var item in SensitiveGridItems) 266foreach (var vm in SensitiveGridItems) 272private void OnValueMaskedChanged(IPropertyGridItem vm)
Model\ResourceUrlHelpers.cs (2)
79string? IPropertyGridItem.Value => null; 81object IPropertyGridItem.Key => Index;
Model\ResourceViewModel.cs (8)
321string IPropertyGridItem.Name => DisplayName; 322string? IPropertyGridItem.Value => _displayValue.Value; 323object IPropertyGridItem.Key => _key; 325bool IPropertyGridItem.IsValueSensitive => _propertyViewModel.IsValueSensitive; 326bool IPropertyGridItem.IsValueMasked { get => _propertyViewModel.IsValueMasked; set => _propertyViewModel.IsValueMasked = value; } 427string IPropertyGridItem.Name => Source; 428string? IPropertyGridItem.Value => Target; 432object IPropertyGridItem.Key => index;
Otlp\Model\OtlpSpanEvent.cs (3)
20string IPropertyGridItem.Name => DurationFormatter.FormatDuration(Time - span.StartTime); 21object IPropertyGridItem.Key => InternalId; 22string? IPropertyGridItem.Value => Name;