1 write to _task
Microsoft.AspNetCore.OutputCaching (1)
src\Shared\TaskToApm.cs (1)
80
_task
= task;
6 references to _task
Microsoft.AspNetCore.OutputCaching (6)
src\Shared\TaskToApm.cs (6)
41
twar.
_task
.GetAwaiter().GetResult();
52
if (asyncResult is TaskAsyncResult twar && twar.
_task
is Task<TResult> task)
95
_task
.ConfigureAwait(continueOnCapturedContext: false)
112
/// <remarks>This is set lazily based on whether the <see cref="
_task
"/> has completed by the time this object is created.</remarks>
115
public bool IsCompleted =>
_task
.IsCompleted;
117
public WaitHandle AsyncWaitHandle => ((IAsyncResult)
_task
).AsyncWaitHandle;