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