27 references to Value
Aspire.Dashboard (8)
Components\Controls\ResourceDetails.razor.cs (3)
159string.Equals(property.Name, KnownProperties.Parameter.Value, StringComparisons.ResourcePropertyName) && 233_valueComponents[KnownProperties.Parameter.Value] = metadata; 234_valueComponents[DisplayedResourcePropertyViewModel.GetUnknownKey(KnownProperties.Parameter.Value)] = metadata;
Components\Pages\Resources.razor.cs (1)
775if (resource.Properties.TryGetValue(KnownProperties.Parameter.Value, out var property))
Model\LegacyResourcePropertyMetadata.cs (2)
33(KnownResourceTypes.Parameter, KnownProperties.Parameter.Value) => Create(KnownProperties.Parameter.Value, nameof(ResourcesDetailsParameterValueProperty), 0),
Model\ResourceOutgoingPeerResolver.cs (1)
127if (!ArePropertyValuesEquivalent(resource1, resource2, KnownProperties.Parameter.Value))
Model\ResourceViewModel.cs (1)
88if (Properties.TryGetValue(KnownProperties.Parameter.Value, out var parameterValueProperty) &&
Aspire.Dashboard.Components.Tests (15)
Controls\ResourceDetailsTests.cs (6)
744[KnownProperties.Parameter.Value] = CreateParameterValueProperty("Parameter 'p' not found in configuration.") 790[KnownProperties.Parameter.Value] = CreateParameterValueProperty("Parameter 'p' not found in configuration.") 836[KnownProperties.Parameter.Value] = CreateParameterValueProperty("Parameter 'p' not found in configuration.", isValueSensitive: true) 866[KnownProperties.Parameter.Value] = CreateParameterValueProperty(errorMessage) 893[KnownProperties.Parameter.Value] = CreateParameterValueProperty("resolved-value") 945KnownProperties.Parameter.Value,
Pages\ResourcesTests.cs (9)
968.Add(KnownProperties.Parameter.Value, new ResourcePropertyViewModel( 969KnownProperties.Parameter.Value, 1000Assert.True(resource.Properties.ContainsKey(KnownProperties.Parameter.Value)); 1001Assert.Equal("my-secret-value", resource.Properties[KnownProperties.Parameter.Value].Value.StringValue); 1002Assert.True(resource.Properties[KnownProperties.Parameter.Value].IsValueSensitive); 1030.Add(KnownProperties.Parameter.Value, new ResourcePropertyViewModel( 1031KnownProperties.Parameter.Value, 1074.Add(KnownProperties.Parameter.Value, new ResourcePropertyViewModel( 1075KnownProperties.Parameter.Value,
Aspire.Dashboard.Tests (4)
Model\KnownPropertyLookupTests.cs (1)
36[InlineData(KnownProperties.Parameter.Value)]
Model\ResourceViewModelTests.cs (1)
208[InlineData(KnownResourceTypes.Parameter, KnownProperties.Parameter.Value, nameof(DashboardResources.ResourcesDetailsParameterValueProperty), 0)]
ResourceOutgoingPeerResolverTests.cs (2)
619[KnownProperties.Parameter.Value] = new( 620name: KnownProperties.Parameter.Value,