1 instantiation of CacheViewRenderState
Microsoft.AspNetCore.Components.Endpoints (1)
CacheView\CacheViewService.cs (1)
89
var state = new
CacheViewRenderState
(key, GetVaryBy(cacheView))
9 references to CacheViewRenderState
Microsoft.AspNetCore.Components.Endpoints (9)
CacheView\CacheView.cs (1)
109
internal
CacheViewRenderState
? RenderState { get; private set; }
CacheView\CacheViewService.cs (7)
79
public async Task<
CacheViewRenderState
?> PrepareAsync(CacheView cacheView, HttpContext httpContext)
89
var
state = new CacheViewRenderState(key, GetVaryBy(cacheView))
128
public static bool TryBeginWrite(
CacheViewRenderState
? state, CacheView cacheView, TextWriter output, out TextWriter wrappedOutput)
151
public void EndCapture(
CacheViewRenderState
? state, bool completed)
188
public void OnCacheViewDisposed(
CacheViewRenderState
state)
250
private async Task ApplyDuplicateResolutionAsync(
CacheViewRenderState
state, string key, Task<SerializedRenderFragment?> resolution)
274
private async Task ResolveOrBeginCreateAsync(CacheView cacheView,
CacheViewRenderState
state, TaskCompletionSource<SerializedRenderFragment?> resolution, CancellationToken cancellationToken)
Rendering\EndpointHtmlRenderer.Streaming.cs (1)
280
var
renderState = cacheView.RenderState;