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