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)
47
if (
_cascadingParameters
.Count != 0)
177
parameters = parameters.WithCascadingParameters(
_cascadingParameters
);
194
foreach (var param in
_cascadingParameters
)
198
remainingCascadingParameters ??= new(
_cascadingParameters
.Count /* upper bound on capacity needed */);
223
var allParams = directParams.WithCascadingParameters(
_cascadingParameters
!);
249
var numCascadingParameters =
_cascadingParameters
!.Count;
253
var valueSupplier =
_cascadingParameters
[i].ValueSupplier;
256
valueSupplier.Subscribe(this,
_cascadingParameters
[i].ParameterInfo);
266
var numCascadingParameters =
_cascadingParameters
!.Count;
269
var supplier =
_cascadingParameters
[i].ValueSupplier;
272
supplier.Unsubscribe(this,
_cascadingParameters
[i].ParameterInfo);