2 writes to Value
Microsoft.AspNetCore.Components (2)
CascadingValue.cs (2)
60Value = default; 69Value = (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. 58var previousValue = Value; 67if (parameter.Name.Equals(nameof(Value), StringComparison.OrdinalIgnoreCase)) 105throw new ArgumentException($"Missing required parameter '{nameof(Value)}' for component '{GetType().Name}'."); 121if (_subscribers != null && ChangeDetection.MayHaveChanged(previousValue, Value)) 145return Value;
Microsoft.AspNetCore.Components.Authorization.Tests (2)
AuthorizeRouteViewTest.cs (1)
416builder.AddComponentParameter(1, nameof(CascadingValue<object>.Value), _authenticationState);
AuthorizeViewTest.cs (1)
534builder.AddComponentParameter(1, nameof(CascadingValue<Task<AuthenticationState>>.Value), AuthenticationState);