1 write to Name
Microsoft.AspNetCore.Components (1)
ParameterValue.cs (1)
14Name = name;
23 references to Name
Microsoft.AspNetCore.Components (15)
CascadingValue.cs (5)
67if (parameter.Name.Equals(nameof(Value), StringComparison.OrdinalIgnoreCase)) 72else if (parameter.Name.Equals(nameof(ChildContent), StringComparison.OrdinalIgnoreCase)) 76else if (parameter.Name.Equals(nameof(Name), StringComparison.OrdinalIgnoreCase)) 84else if (parameter.Name.Equals(nameof(IsFixed), StringComparison.OrdinalIgnoreCase)) 90throw new ArgumentException($"The component '{nameof(CascadingValue<TValue>)}' does not accept a parameter with the name '{parameter.Name}'.");
DynamicComponent.cs (3)
69if (entry.Name.Equals(nameof(Type), StringComparison.OrdinalIgnoreCase)) 73else if (entry.Name.Equals(nameof(Parameters), StringComparison.OrdinalIgnoreCase)) 80$"{nameof(DynamicComponent)} does not accept a parameter with the name '{entry.Name}'. To pass parameters to the dynamically-rendered component, use the '{nameof(Parameters)}' parameter.");
ParameterView.cs (3)
70if (string.Equals(entry.Name, parameterName)) 111result[entry.Name] = entry.Value; 139if (string.Equals(directParameterEnumerator.Current.Name, parameterName, StringComparison.Ordinal))
Reflection\ComponentProperties.cs (2)
44var parameterName = parameter.Name; 95var parameterName = parameter.Name;
Sections\SectionContent.cs (2)
89switch (param.Name) 104throw new ArgumentException($"Unknown parameter '{param.Name}'");
Microsoft.AspNetCore.Components.Endpoints (1)
src\Shared\Components\ComponentParameter.cs (1)
23Name = kvp.Name,
Microsoft.AspNetCore.Components.Server (1)
src\Shared\Components\ComponentParameter.cs (1)
23Name = kvp.Name,
Microsoft.AspNetCore.Components.Tests (2)
ParameterViewTest.cs (1)
575Assert.Equal(expectedName, parameter.Name);
RendererTest.cs (1)
6079if (parameter.Name.Equals(nameof(SomeParam), StringComparison.OrdinalIgnoreCase))
Microsoft.AspNetCore.Components.Web (3)
Routing\NavigationLock.cs (3)
51if (parameter.Name.Equals(nameof(OnBeforeInternalNavigation), StringComparison.OrdinalIgnoreCase)) 55else if (parameter.Name.Equals(nameof(ConfirmExternalNavigation), StringComparison.OrdinalIgnoreCase)) 61throw new ArgumentException($"The component '{nameof(NavigationLock)}' does not accept a parameter with the name '{parameter.Name}'.");
Microsoft.AspNetCore.Components.WebAssembly (1)
src\Shared\Components\ComponentParameter.cs (1)
23Name = kvp.Name,