4 instantiations of AsyncLazy
Microsoft.CodeAnalysis.InteractiveHost (4)
AsyncLazy`1.cs (2)
17
=>
new
(asynchronousComputeFunction, cacheResult);
20
=>
new
(value);
Interactive\Core\InteractiveHost.LazyRemoteService.cs (1)
37
_lazyInitializedService = new
AsyncLazy
<InitializedRemoteService>(TryStartAndInitializeProcessAsync, cacheResult: true);
ValueSource.cs (1)
22
=> new
AsyncLazy
<T>(value);
6 references to AsyncLazy
Microsoft.CodeAnalysis.InteractiveHost (6)
AsyncLazy`1.cs (5)
16
public static
AsyncLazy
<T> Create<T>(Func<CancellationToken, Task<T>> asynchronousComputeFunction, bool cacheResult)
19
public static
AsyncLazy
<T> Create<T>(T value)
30
/// Creators of an <see cref="
AsyncLazy
{T}" /> can specify whether the result of the computation is
134
private readonly
AsyncLazy
<T> _asyncLazy;
136
public WaitThatValidatesInvariants(
AsyncLazy
<T> asyncLazy)
Interactive\Core\InteractiveHost.LazyRemoteService.cs (1)
27
private readonly
AsyncLazy
<InitializedRemoteService> _lazyInitializedService;