2 writes to Value
Microsoft.AspNetCore.Components (2)
CascadingValue.cs (2)
60
Value
= default;
69
Value
= (TValue)parameter.Value;
9 references to Value
Microsoft.AspNetCore.Components (7)
CascadingValue.cs (7)
37
/// If true, indicates that <see cref="
Value
"/> will not change. This is a
40
/// <see cref="
Value
"/> during the component's lifetime.
58
var previousValue =
Value
;
67
if (parameter.Name.Equals(nameof(
Value
), StringComparison.OrdinalIgnoreCase))
105
throw new ArgumentException($"Missing required parameter '{nameof(
Value
)}' for component '{GetType().Name}'.");
121
if (_subscribers != null && ChangeDetection.MayHaveChanged(previousValue,
Value
))
145
return
Value
;
Microsoft.AspNetCore.Components.Authorization.Tests (2)
AuthorizeRouteViewTest.cs (1)
416
builder.AddComponentParameter(1, nameof(CascadingValue<object>.
Value
), _authenticationState);
AuthorizeViewTest.cs (1)
534
builder.AddComponentParameter(1, nameof(CascadingValue<Task<AuthenticationState>>.
Value
), AuthenticationState);