7 implementations of IPropertyGridItem
Aspire.Dashboard (7)
Model\ResourceUrlHelpers.cs (1)
63
public sealed class DisplayedUrl :
IPropertyGridItem
Model\ResourceViewModel.cs (3)
242
public sealed class EnvironmentVariableViewModel :
IPropertyGridItem
264
public sealed class DisplayedResourcePropertyViewModel :
IPropertyGridItem
384
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)
8
public class OtlpSpanAttributeItem(string name, string value) :
IPropertyGridItem
14
public class OtlpSpanEvent(OtlpSpan span) :
IPropertyGridItem
22 references to IPropertyGridItem
Aspire.Dashboard (22)
Components\Controls\PropertyGrid.razor.cs (3)
84
public 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)
49
private IEnumerable<
IPropertyGridItem
> SensitiveGridItems => Resource.Environment.Cast<
IPropertyGridItem
>().Concat(_displayedResourcePropertyViewModels).Where(static vm => vm.IsValueSensitive);
61
.Where(vm => (_showAll || vm.FromSpec) && ((
IPropertyGridItem
)vm).MatchesFilter(_filter))
137
foreach (
var
item in SensitiveGridItems)
245
foreach (
var
vm in SensitiveGridItems)
251
private void OnValueMaskedChanged(
IPropertyGridItem
vm)
Model\ResourceUrlHelpers.cs (2)
79
string?
IPropertyGridItem
.Value => null;
81
object
IPropertyGridItem
.Key => Index;
Model\ResourceViewModel.cs (8)
280
string
IPropertyGridItem
.Name => DisplayName;
281
string?
IPropertyGridItem
.Value => _displayValue.Value;
282
object
IPropertyGridItem
.Key => _key;
284
bool
IPropertyGridItem
.IsValueSensitive => _propertyViewModel.IsValueSensitive;
285
bool
IPropertyGridItem
.IsValueMasked { get => _propertyViewModel.IsValueMasked; set => _propertyViewModel.IsValueMasked = value; }
386
string
IPropertyGridItem
.Name => Source;
387
string?
IPropertyGridItem
.Value => Target;
391
object
IPropertyGridItem
.Key => index;
Otlp\Model\OtlpSpanEvent.cs (3)
20
string
IPropertyGridItem
.Name => DurationFormatter.FormatDuration(Time - span.StartTime);
21
object
IPropertyGridItem
.Key => InternalId;
22
string?
IPropertyGridItem
.Value => Name;