1 write to ParentComponentState
Microsoft.AspNetCore.Components (1)
Rendering\ComponentState.cs (1)
38ParentComponentState = parentComponentState;
20 references to ParentComponentState
Microsoft.AspNetCore.Components (10)
PersistentStateValueProvider.cs (8)
292if (componentState.ParentComponentState == null) 296if (componentState.ParentComponentState.Component == null) 301if (componentState.ParentComponentState.ParentComponentState != null) 304var parentRenderMode = renderer.GetComponentRenderMode(componentState.ParentComponentState.Component); 305var grandParentRenderMode = renderer.GetComponentRenderMode(componentState.ParentComponentState.ParentComponentState.Component); 316return GetComponentType(componentState.ParentComponentState);
Rendering\ComponentState.cs (1)
349if (ParentComponentState is not { } parentComponentState)
RenderTree\Renderer.cs (1)
774if (componentState.ParentComponentState is not null)
Microsoft.AspNetCore.Components.Endpoints (8)
Rendering\EndpointComponentState.cs (3)
52if (ParentComponentState != null && ParentComponentState.Component is SSRRenderModeBoundary boundary) 54var (sequence, key) = _renderer.GetSequenceAndKey(ParentComponentState);
Rendering\EndpointHtmlRenderer.EventDispatch.cs (1)
259for (var current = GetComponentState(componentId); current != null; current = current.ParentComponentState)
Rendering\EndpointHtmlRenderer.Prerendering.cs (3)
75currentComponentState = currentComponentState.ParentComponentState; 318if (boundaryComponentState.ParentComponentState is null) 327var targetState = boundaryComponentState.ParentComponentState;
Rendering\EndpointHtmlRenderer.Streaming.cs (1)
197while (componentState.ParentComponentState is { } parentComponentState)
Microsoft.AspNetCore.Components.Server (1)
Circuits\RemoteRenderer.cs (1)
324return remoteComponentState.ParentComponentState != null ?
Microsoft.AspNetCore.Components.WebAssembly (1)
Rendering\WebAssemblyRenderer.cs (1)
202return webAssemblyComponentState.ParentComponentState != null ?