Implemented interface member:
property
IsFixed
Microsoft.AspNetCore.Components.ICascadingValueSupplier.IsFixed
2 writes to IsFixed
Microsoft.AspNetCore.Components (2)
CascadingValue.cs (2)
63
IsFixed
= false;
86
IsFixed
= (bool)parameter.Value;
6 references to IsFixed
Microsoft.AspNetCore.Components (6)
CascadingValue.cs (6)
59
var previousFixed =
IsFixed
;
84
else if (parameter.Name.Equals(nameof(
IsFixed
), StringComparison.OrdinalIgnoreCase))
94
if (_hasSetParametersPreviously &&
IsFixed
!= previousFixed)
96
throw new InvalidOperationException($"The value of {nameof(
IsFixed
)} cannot be changed dynamically.");
150
if (
IsFixed
)
154
throw new InvalidOperationException($"Cannot subscribe to a {typeof(CascadingValue<>).Name} when {nameof(
IsFixed
)} is true.");