7 implementations of IPropertyGridItem
Aspire.Dashboard (7)
Model\ResourceUrlHelpers.cs (1)
63public sealed class DisplayedUrl : IPropertyGridItem
Model\ResourceViewModel.cs (3)
238public sealed class EnvironmentVariableViewModel : IPropertyGridItem 260public sealed class DisplayedResourcePropertyViewModel : IPropertyGridItem 377public 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
20 references to IPropertyGridItem
Aspire.Dashboard (20)
Components\Controls\PropertyGrid.razor.cs (3)
84public partial class PropertyGrid<TItem> where TItem : IPropertyGridItem 110/// Gets and sets the sorting behavior of the name column. Defaults to sorting on <see cref="IPropertyGridItem.Name"/>. 116/// Gets and sets the sorting behavior of the value column. Defaults to sorting on <see cref="IPropertyGridItem.Value"/>.
Components\Controls\ResourceDetails.razor.cs (6)
46private IEnumerable<IPropertyGridItem> SensitiveGridItems => Resource.Environment.Cast<IPropertyGridItem>().Concat(_displayedResourcePropertyViewModels).Where(static vm => vm.IsValueSensitive); 58.Where(vm => (_showAll || vm.FromSpec) && ((IPropertyGridItem)vm).MatchesFilter(_filter)) 134foreach (var item in SensitiveGridItems) 242foreach (var vm in SensitiveGridItems) 248private void OnValueMaskedChanged(IPropertyGridItem vm)
Model\ResourceUrlHelpers.cs (2)
79string? IPropertyGridItem.Value => null; 81object IPropertyGridItem.Key => Index;
Model\ResourceViewModel.cs (6)
276string IPropertyGridItem.Name => DisplayName; 277string? IPropertyGridItem.Value => _displayValue.Value; 278object IPropertyGridItem.Key => _key; 379string IPropertyGridItem.Name => Source; 380string? IPropertyGridItem.Value => Target; 384object IPropertyGridItem.Key => index;
Otlp\Model\OtlpSpanEvent.cs (3)
20string IPropertyGridItem.Name => DurationFormatter.FormatDuration(Time - span.StartTime); 21object IPropertyGridItem.Key => InternalId; 22string? IPropertyGridItem.Value => Name;