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