19 instantiations of KnownProperty
Aspire.Dashboard (18)
Model\KnownPropertyLookup.cs (18)
24new(KnownProperties.Resource.DisplayName, loc => loc[nameof(ResourcesDetailsDisplayNameProperty)]), 25new(KnownProperties.Resource.State, loc => loc[nameof(ResourcesDetailsStateProperty)]), 26new(KnownProperties.Resource.StartTime, loc => loc[nameof(ResourcesDetailsStartTimeProperty)]), 27new(KnownProperties.Resource.StopTime, loc => loc[nameof(ResourcesDetailsStopTimeProperty)]), 28new(KnownProperties.Resource.ExitCode, loc => loc[nameof(ResourcesDetailsExitCodeProperty)]), 29new(KnownProperties.Resource.HealthState, loc => loc[nameof(ResourcesDetailsHealthStateProperty)]) 35new(KnownProperties.Project.Path, loc => loc[nameof(ResourcesDetailsProjectPathProperty)]), 36new(KnownProperties.Executable.Pid, loc => loc[nameof(ResourcesDetailsExecutableProcessIdProperty)]), 42new(KnownProperties.Executable.Path, loc => loc[nameof(ResourcesDetailsExecutablePathProperty)]), 43new(KnownProperties.Executable.WorkDir, loc => loc[nameof(ResourcesDetailsExecutableWorkingDirectoryProperty)]), 44new(KnownProperties.Executable.Args, loc => loc[nameof(ResourcesDetailsExecutableArgumentsProperty)]), 45new(KnownProperties.Executable.Pid, loc => loc[nameof(ResourcesDetailsExecutableProcessIdProperty)]), 51new(KnownProperties.Container.Image, loc => loc[nameof(ResourcesDetailsContainerImageProperty)]), 52new(KnownProperties.Container.Id, loc => loc[nameof(ResourcesDetailsContainerIdProperty)]), 53new(KnownProperties.Container.Command, loc => loc[nameof(ResourcesDetailsContainerCommandProperty)]), 54new(KnownProperties.Container.Args, loc => loc[nameof(ResourcesDetailsContainerArgumentsProperty)]), 55new(KnownProperties.Container.Ports, loc => loc[nameof(ResourcesDetailsContainerPortsProperty)]), 56new(KnownProperties.Container.Lifetime, loc => loc[nameof(ResourcesDetailsContainerLifetimeProperty)]),
Aspire.Dashboard.Tests (1)
Model\ResourceViewModelTests.cs (1)
125var kp = new KnownProperty("foo", loc => "bar");
19 references to KnownProperty
Aspire.Dashboard (10)
Model\KnownPropertyLookup.cs (7)
10(int priority, KnownProperty? knownProperty) FindProperty(string resourceType, string uid); 15private readonly List<KnownProperty> _resourceProperties; 16private readonly List<KnownProperty> _projectProperties; 17private readonly List<KnownProperty> _executableProperties; 18private readonly List<KnownProperty> _containerProperties; 60public (int priority, KnownProperty? knownProperty) FindProperty(string resourceType, string uid) 72var kp = knownProperties[i];
Model\ResourceViewModel.cs (3)
271public KnownProperty? KnownProperty => _propertyViewModel.KnownProperty; 330public KnownProperty? KnownProperty { get; } 335public ResourcePropertyViewModel(string name, Value value, bool isValueSensitive, KnownProperty? knownProperty, int priority)
Aspire.Dashboard.Components.Tests (4)
tests\Aspire.Dashboard.Tests\Model\MockKnownPropertyLookup.cs (4)
11private KnownProperty? _knownProperty; 13public MockKnownPropertyLookup(int priority, KnownProperty? knownProperty) : this() 19public void Set(int priority, KnownProperty? knownProperty) 25public (int priority, KnownProperty? knownProperty) FindProperty(string resourceType, string uid)
Aspire.Dashboard.Tests (5)
Model\MockKnownPropertyLookup.cs (4)
11private KnownProperty? _knownProperty; 13public MockKnownPropertyLookup(int priority, KnownProperty? knownProperty) : this() 19public void Set(int priority, KnownProperty? knownProperty) 25public (int priority, KnownProperty? knownProperty) FindProperty(string resourceType, string uid)
Model\ResourceViewModelTests.cs (1)
125var kp = new KnownProperty("foo", loc => "bar");