18 references to CascadingValue
Microsoft.AspNetCore.Components (13)
CascadingParameterAttribute.cs (3)
8
/// supplied by the closest ancestor <see cref="
CascadingValue
{T}"/> component that
16
/// ancestor <see cref="
CascadingValue
{T}"/> that supplies a value with
20
/// <see cref="
CascadingValue
{T}"/> that supplies a value with a compatible
CascadingValue.cs (3)
81
throw new ArgumentException($"The parameter '{nameof(Name)}' for component '{nameof(
CascadingValue
<TValue>)}' does not allow null or empty values.");
90
throw new ArgumentException($"The component '{nameof(
CascadingValue
<TValue>)}' does not accept a parameter with the name '{parameter.Name}'.");
154
throw new InvalidOperationException($"Cannot subscribe to a {typeof(
CascadingValue
<>).Name} when {nameof(IsFixed)} is true.");
CascadingValueServiceCollectionExtensions.cs (6)
17
/// a fixed <see cref="
CascadingValue
{TValue}"/> at the root of the component hierarchy.
29
/// a fixed <see cref="
CascadingValue
{TValue}"/> at the root of the component hierarchy.
42
/// a <see cref="
CascadingValue
{TValue}"/> at the root of the component hierarchy.
76
/// with the value type. This is equivalent to having a fixed <see cref="
CascadingValue
{TValue}"/> at
94
/// <see cref="
CascadingValue
{TValue}"/> at the root of the component hierarchy.
111
/// with the value type. This is equivalent to having a fixed <see cref="
CascadingValue
{TValue}"/> at
ParameterValue.cs (1)
31
/// was supplied by a <see cref="
CascadingValue
{T}"/>.
Microsoft.AspNetCore.Components.Authorization (3)
_generated\0\CascadingAuthenticationState_razor.g.cs (3)
29
__builder.OpenComponent<global::Microsoft.AspNetCore.Components.
CascadingValue
<
38
__builder.AddComponentParameter(1, nameof(global::Microsoft.AspNetCore.Components.
CascadingValue
<System.Threading.Tasks.Task<AuthenticationState>>.
55
__builder.AddComponentParameter(2, nameof(global::Microsoft.AspNetCore.Components.
CascadingValue
<System.Threading.Tasks.Task<AuthenticationState>>.
Microsoft.AspNetCore.Components.Web (2)
Forms\EditForm.cs (1)
167
builder.OpenComponent<
CascadingValue
<EditContext>>(7);
Forms\InputRadioGroup.cs (1)
82
builder.OpenComponent<
CascadingValue
<InputRadioContext>>(0);