15 writes to CaptureUnmatchedValues
Microsoft.AspNetCore.Components.Endpoints (1)
Assets\ImportMap.cs (1)
35[Parameter(CaptureUnmatchedValues = true)] public IReadOnlyDictionary<string, object>? AdditionalAttributes { get; set; }
Microsoft.AspNetCore.Components.QuickGrid (1)
QuickGrid.razor.cs (1)
105[Parameter(CaptureUnmatchedValues = true)] public IReadOnlyDictionary<string, object>? AdditionalAttributes { get; set; }
Microsoft.AspNetCore.Components.Tests (6)
ParameterViewTest.Assignment.cs (5)
701[Parameter(CaptureUnmatchedValues = true)] public IReadOnlyDictionary<string, object> CaptureUnmatchedValues { get; set; } 707[Parameter(CaptureUnmatchedValues = true)] public IReadOnlyDictionary<string, object> CaptureUnmatchedValues { get; set; } 712[Parameter(CaptureUnmatchedValues = true)] public Dictionary<string, object> CaptureUnmatchedValuesProp1 { get; set; } 713[Parameter(CaptureUnmatchedValues = true)] public IDictionary<string, object> CaptureUnmatchedValuesProp2 { get; set; } 718[Parameter(CaptureUnmatchedValues = true)] public KeyValuePair<string, object>[] CaptureUnmatchedValuesProp { get; set; }
RendererTest.cs (1)
5238[Parameter(CaptureUnmatchedValues = true)] public IDictionary<string, object> Attributes { get; set; }
Microsoft.AspNetCore.Components.Web (7)
Forms\EditForm.cs (1)
31[Parameter(CaptureUnmatchedValues = true)] public IReadOnlyDictionary<string, object>? AdditionalAttributes { get; set; }
Forms\InputBase.cs (1)
36[Parameter(CaptureUnmatchedValues = true)] public IReadOnlyDictionary<string, object>? AdditionalAttributes { get; set; }
Forms\InputFile.cs (1)
31[Parameter(CaptureUnmatchedValues = true)]
Forms\InputRadio.cs (1)
25[Parameter(CaptureUnmatchedValues = true)] public IReadOnlyDictionary<string, object>? AdditionalAttributes { get; set; }
Forms\ValidationMessage.cs (1)
22[Parameter(CaptureUnmatchedValues = true)] public IReadOnlyDictionary<string, object>? AdditionalAttributes { get; set; }
Forms\ValidationSummary.cs (1)
29[Parameter(CaptureUnmatchedValues = true)] public IReadOnlyDictionary<string, object>? AdditionalAttributes { get; set; }
Routing\NavLink.cs (1)
33[Parameter(CaptureUnmatchedValues = true)]
11 references to CaptureUnmatchedValues
Microsoft.AspNetCore.Components (8)
ParameterAttribute.cs (3)
20/// <see cref="CaptureUnmatchedValues"/> allows a component to accept arbitrary additional 24/// <see cref="CaptureUnmatchedValues"/> can be used on at most one parameter per component. 27/// <see cref="CaptureUnmatchedValues"/> should only be applied to parameters of a type that
Reflection\ComponentProperties.cs (5)
243if (property.GetCustomAttribute<ParameterAttribute>()?.CaptureUnmatchedValues == true) 253$"'{nameof(ParameterAttribute)}.{nameof(ParameterAttribute.CaptureUnmatchedValues)}'. Only a single property " + 254$"per type can use '{nameof(ParameterAttribute)}.{nameof(ParameterAttribute.CaptureUnmatchedValues)}'. Properties:" + Environment.NewLine + 263$"with '{nameof(ParameterAttribute)}.{nameof(ParameterAttribute.CaptureUnmatchedValues)}' because it has the wrong type. " + 331if (parameterAttribute != null && parameterAttribute.CaptureUnmatchedValues)
Microsoft.AspNetCore.Components.Tests (3)
ParameterViewTest.Assignment.cs (3)
429$"with '{nameof(ParameterAttribute)}.{nameof(ParameterAttribute.CaptureUnmatchedValues)}'. " + 430$"Only a single property per type can use '{nameof(ParameterAttribute)}.{nameof(ParameterAttribute.CaptureUnmatchedValues)}'. " + 450$"'{nameof(ParameterAttribute)}.{nameof(ParameterAttribute.CaptureUnmatchedValues)}' because it has the wrong type. " +