8 implementations of IPropertyGridItem
Aspire.Dashboard (8)
Model\GenAI\GenAIItemPartViewModel.cs (1)
15
public sealed class GenAIPartPropertyViewModel :
IPropertyGridItem
Model\ResourceUrlHelpers.cs (1)
65
public sealed class DisplayedUrl :
IPropertyGridItem
Model\ResourceViewModel.cs (3)
338
public sealed class EnvironmentVariableViewModel :
IPropertyGridItem
360
public sealed class DisplayedResourcePropertyViewModel :
IPropertyGridItem
488
public sealed record class VolumeViewModel(int index, string Source, string Target, string MountType, bool IsReadOnly) :
IPropertyGridItem
Model\TelemetryPropertyViewModel.cs (1)
8
public sealed class TelemetryPropertyViewModel :
IPropertyGridItem
Otlp\Model\OtlpSpanEvent.cs (2)
10
public class OtlpSpanAttributeItem(string name, string value) :
IPropertyGridItem
16
public class OtlpSpanEvent(OtlpSpan span) :
IPropertyGridItem
22 references to IPropertyGridItem
Aspire.Dashboard (22)
Components\Controls\PropertyGrid.razor.cs (3)
85
public 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)
70
private IEnumerable<
IPropertyGridItem
> SensitiveGridItems => Resource.Environment.Cast<
IPropertyGridItem
>().Concat(_displayedResourcePropertyViewModels).Where(static vm => vm.IsValueSensitive);
83
.Where(vm => (_showAll || vm.FromSpec) && ((
IPropertyGridItem
)vm).MatchesFilter(_filter))
187
foreach (
var
item in SensitiveGridItems)
424
foreach (
var
vm in SensitiveGridItems)
430
private void OnValueMaskedChanged(
IPropertyGridItem
vm)
Model\ResourceUrlHelpers.cs (2)
81
string?
IPropertyGridItem
.Value => null;
83
object
IPropertyGridItem
.Key => Index;
Model\ResourceViewModel.cs (8)
377
string
IPropertyGridItem
.Name => DisplayName;
378
string?
IPropertyGridItem
.Value => _displayValue.Value;
379
object
IPropertyGridItem
.Key => _key;
381
bool
IPropertyGridItem
.IsValueSensitive => _propertyViewModel.IsValueSensitive;
382
bool
IPropertyGridItem
.IsValueMasked { get => _propertyViewModel.IsValueMasked; set => _propertyViewModel.IsValueMasked = value; }
490
string
IPropertyGridItem
.Name => Source;
491
string?
IPropertyGridItem
.Value => Target;
495
object
IPropertyGridItem
.Key => index;
Otlp\Model\OtlpSpanEvent.cs (3)
22
string
IPropertyGridItem
.Name => DurationFormatter.FormatDuration(Time - span.StartTime, CultureInfo.CurrentCulture);
23
object
IPropertyGridItem
.Key => InternalId;
24
string?
IPropertyGridItem
.Value => Name;