2 instantiations of ParameterViewLifetime
Microsoft.AspNetCore.Components (2)
RenderTree\RenderTreeDiffBuilder.cs (2)
685var newParametersLifetime = new ParameterViewLifetime(diffContext.BatchBuilder); 966var initialParametersLifetime = new ParameterViewLifetime(diffContext.BatchBuilder);
14 references to ParameterViewLifetime
Microsoft.AspNetCore.Components (14)
CascadingValue.cs (1)
166private void NotifySubscribers(in ParameterViewLifetime lifetime)
CascadingValueSource.cs (1)
111subscriber.NotifyCascadingValueChanged(ParameterViewLifetime.Unbound);
ParameterView.cs (5)
22private static readonly ParameterView _empty = new ParameterView(ParameterViewLifetime.Unbound, _emptyFrames, 0, Array.Empty<CascadingParameterState>()); 24private readonly ParameterViewLifetime _lifetime; 29internal ParameterView(in ParameterViewLifetime lifetime, RenderTreeFrame[] frames, int ownerIndex) 34private ParameterView(in ParameterViewLifetime lifetime, RenderTreeFrame[] frames, int ownerIndex, IReadOnlyList<CascadingParameterState> cascadingParameters) 47internal ParameterViewLifetime Lifetime => _lifetime;
ParameterViewBuilder.cs (1)
46return new ParameterView(ParameterViewLifetime.Unbound, _frames, 0);
Rendering\ComponentState.cs (1)
209internal void NotifyCascadingValueChanged(in ParameterViewLifetime lifetime)
Rendering\ParameterViewLifetime.cs (1)
11public static readonly ParameterViewLifetime Unbound;
RenderTree\RenderTreeDiffBuilder.cs (3)
684var oldParameters = new ParameterView(ParameterViewLifetime.Unbound, oldTree, oldFrameIndex); 685var newParametersLifetime = new ParameterViewLifetime(diffContext.BatchBuilder); 966var initialParametersLifetime = new ParameterViewLifetime(diffContext.BatchBuilder);
Routing\SupplyParameterFromQueryValueProvider.cs (1)
134subscriber.NotifyCascadingValueChanged(ParameterViewLifetime.Unbound);