23 instantiations of KnownProperty
Aspire.Dashboard (21)
Model\KnownPropertyLookup.cs (21)
25new(KnownProperties.Resource.DisplayName, loc => loc[nameof(ResourcesDetailsDisplayNameProperty)]), 26new(KnownProperties.Resource.State, loc => loc[nameof(ResourcesDetailsStateProperty)]), 27new(KnownProperties.Resource.HealthState, loc => loc[nameof(ResourcesDetailsHealthStateProperty)]), 28new(KnownProperties.Resource.StartTime, loc => loc[nameof(ResourcesDetailsStartTimeProperty)]), 29new(KnownProperties.Resource.StopTime, loc => loc[nameof(ResourcesDetailsStopTimeProperty)]), 30new(KnownProperties.Resource.ExitCode, loc => loc[nameof(ResourcesDetailsExitCodeProperty)]), 31new(KnownProperties.Resource.ConnectionString, loc => loc[nameof(ResourcesDetailsConnectionStringProperty)]) 37new(KnownProperties.Project.Path, loc => loc[nameof(ResourcesDetailsProjectPathProperty)]), 38new(KnownProperties.Project.LaunchProfile, loc => loc[nameof(ResourcesDetailsProjectLaunchProfileProperty)]), 39new(KnownProperties.Executable.Pid, loc => loc[nameof(ResourcesDetailsExecutableProcessIdProperty)]), 45new(KnownProperties.Executable.Path, loc => loc[nameof(ResourcesDetailsExecutablePathProperty)]), 46new(KnownProperties.Executable.WorkDir, loc => loc[nameof(ResourcesDetailsExecutableWorkingDirectoryProperty)]), 47new(KnownProperties.Executable.Args, loc => loc[nameof(ResourcesDetailsExecutableArgumentsProperty)]), 48new(KnownProperties.Executable.Pid, loc => loc[nameof(ResourcesDetailsExecutableProcessIdProperty)]), 54new(KnownProperties.Container.Image, loc => loc[nameof(ResourcesDetailsContainerImageProperty)]), 55new(KnownProperties.Container.Id, loc => loc[nameof(ResourcesDetailsContainerIdProperty)]), 56new(KnownProperties.Container.Command, loc => loc[nameof(ResourcesDetailsContainerCommandProperty)]), 57new(KnownProperties.Container.Args, loc => loc[nameof(ResourcesDetailsContainerArgumentsProperty)]), 58new(KnownProperties.Container.Ports, loc => loc[nameof(ResourcesDetailsContainerPortsProperty)]), 59new(KnownProperties.Container.Lifetime, loc => loc[nameof(ResourcesDetailsContainerLifetimeProperty)]), 64new(KnownProperties.Parameter.Value, loc => loc[nameof(ResourcesDetailsParameterValueProperty)])
Aspire.Dashboard.Tests (2)
Integration\Playwright\Infrastructure\MockDashboardClient.cs (1)
27knownProperty: new(KnownProperties.Project.Path, loc => "Path"),
Model\ResourceViewModelTests.cs (1)
125var kp = new KnownProperty("foo", loc => "bar");
20 references to KnownProperty
Aspire.Dashboard (11)
Model\KnownPropertyLookup.cs (8)
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; 19private readonly List<KnownProperty> _parameterProperties; 68public (int priority, KnownProperty? knownProperty) FindProperty(string resourceType, string uid) 81var kp = knownProperties[i];
Model\ResourceViewModel.cs (3)
316public KnownProperty? KnownProperty => _propertyViewModel.KnownProperty; 378public KnownProperty? KnownProperty { get; } 383public 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");