2 writes to _cascadingParameters
Microsoft.AspNetCore.Components (2)
Rendering\ComponentState.cs (2)
43_cascadingParameters = CascadingParameterState.FindCascadingParameters(this, out _hasSingleDeliveryCascadingParameters); 205_cascadingParameters = (IReadOnlyList<CascadingParameterState>?)remainingCascadingParameters ?? Array.Empty<CascadingParameterState>();
11 references to _cascadingParameters
Microsoft.AspNetCore.Components (11)
Rendering\ComponentState.cs (11)
47if (_cascadingParameters.Count != 0) 177parameters = parameters.WithCascadingParameters(_cascadingParameters); 194foreach (var param in _cascadingParameters) 198remainingCascadingParameters ??= new(_cascadingParameters.Count /* upper bound on capacity needed */); 223var allParams = directParams.WithCascadingParameters(_cascadingParameters!); 249var numCascadingParameters = _cascadingParameters!.Count; 253var valueSupplier = _cascadingParameters[i].ValueSupplier; 256valueSupplier.Subscribe(this, _cascadingParameters[i].ParameterInfo); 266var numCascadingParameters = _cascadingParameters!.Count; 269var supplier = _cascadingParameters[i].ValueSupplier; 272supplier.Unsubscribe(this, _cascadingParameters[i].ParameterInfo);