27 references to Value
Aspire.Dashboard (8)
Components\Controls\ResourceDetails.razor.cs (3)
152string.Equals(property.Name, KnownProperties.Parameter.Value, StringComparisons.ResourcePropertyName) && 226_valueComponents[KnownProperties.Parameter.Value] = metadata; 227_valueComponents[DisplayedResourcePropertyViewModel.GetUnknownKey(KnownProperties.Parameter.Value)] = metadata;
Components\Pages\Resources.razor.cs (1)
839if (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)
1326.Add(KnownProperties.Parameter.Value, new ResourcePropertyViewModel( 1327KnownProperties.Parameter.Value, 1358Assert.True(resource.Properties.ContainsKey(KnownProperties.Parameter.Value)); 1359Assert.Equal("my-secret-value", resource.Properties[KnownProperties.Parameter.Value].Value.StringValue); 1360Assert.True(resource.Properties[KnownProperties.Parameter.Value].IsValueSensitive); 1388.Add(KnownProperties.Parameter.Value, new ResourcePropertyViewModel( 1389KnownProperties.Parameter.Value, 1432.Add(KnownProperties.Parameter.Value, new ResourcePropertyViewModel( 1433KnownProperties.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,