9 implementations of IPropertyGridItem
Aspire.Dashboard (9)
Mcp\McpConfigPropertyViewModel.cs (1)
10public sealed class McpConfigPropertyViewModel : IPropertyGridItem
Model\GenAI\GenAIItemPartViewModel.cs (1)
14public sealed class GenAIPartPropertyViewModel : IPropertyGridItem
Model\ResourceUrlHelpers.cs (1)
77public sealed class DisplayedUrl : IPropertyGridItem
Model\ResourceViewModel.cs (3)
302public sealed class EnvironmentVariableViewModel : IPropertyGridItem 324public sealed class DisplayedResourcePropertyViewModel : IPropertyGridItem 444public 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)
10public class OtlpSpanAttributeItem(string name, string value) : IPropertyGridItem 16public class OtlpSpanEvent(OtlpSpan span) : IPropertyGridItem
25 references to IPropertyGridItem
Aspire.Dashboard (25)
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)
73private IEnumerable<IPropertyGridItem> SensitiveGridItems => Resource.Environment.Cast<IPropertyGridItem>().Concat(_displayedResourcePropertyViewModels).Where(static vm => vm.IsValueSensitive); 85.Where(vm => (_showAll || vm.FromSpec) && ((IPropertyGridItem)vm).MatchesFilter(_filter)) 170foreach (var item in SensitiveGridItems) 353foreach (var vm in SensitiveGridItems) 359private void OnValueMaskedChanged(IPropertyGridItem vm)
Components_Controls_PropertyGrid_razor.g.cs (1)
214where TItem : IPropertyGridItem
Components_Controls_ResourceDetails_razor.g.cs (2)
743vm => ((IPropertyGridItem)vm).Key 1396vm => ((IPropertyGridItem)vm).Key
Model\ResourceUrlHelpers.cs (2)
93string? IPropertyGridItem.Value => null; 95object IPropertyGridItem.Key => Index;
Model\ResourceViewModel.cs (8)
340string IPropertyGridItem.Name => DisplayName; 341string? IPropertyGridItem.Value => _displayValue.Value; 342object IPropertyGridItem.Key => _key; 344bool IPropertyGridItem.IsValueSensitive => _propertyViewModel.IsValueSensitive; 345bool IPropertyGridItem.IsValueMasked { get => _propertyViewModel.IsValueMasked; set => _propertyViewModel.IsValueMasked = value; } 446string IPropertyGridItem.Name => Source; 447string? IPropertyGridItem.Value => Target; 451object IPropertyGridItem.Key => index;
Otlp\Model\OtlpSpanEvent.cs (3)
22string IPropertyGridItem.Name => DurationFormatter.FormatDuration(Time - span.StartTime, CultureInfo.CurrentCulture); 23object IPropertyGridItem.Key => InternalId; 24string? IPropertyGridItem.Value => Name;