1 type derived from AsyncLazy
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AsyncLazy`1.cs (1)
42
private sealed class AsyncLazyImpl<TData> :
AsyncLazy
<T>
14 references to AsyncLazy
Microsoft.CodeAnalysis.CodeStyle (14)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AsyncLazy.cs (9)
13
public static
AsyncLazy
<T> Create<T, TArg>(Func<TArg, CancellationToken, Task<T>> asynchronousComputeFunction, Func<TArg, CancellationToken, T>? synchronousComputeFunction, TArg arg)
14
=>
AsyncLazy
<T>.Create(asynchronousComputeFunction, synchronousComputeFunction, arg);
16
public static
AsyncLazy
<T> Create<T, TArg>(Func<TArg, CancellationToken, Task<T>> asynchronousComputeFunction, TArg arg)
22
public static
AsyncLazy
<T> Create<T, TArg>(Func<TArg, CancellationToken, T> synchronousComputeFunction, TArg arg)
28
public static
AsyncLazy
<T> Create<T>(Func<CancellationToken, Task<T>> asynchronousComputeFunction)
33
public static
AsyncLazy
<T> Create<T>(Func<CancellationToken, T> synchronousComputeFunction)
38
public static
AsyncLazy
<T> Create<T>(Func<CancellationToken, Task<T>> asynchronousComputeFunction, Func<CancellationToken, T> synchronousComputeFunction)
44
public static
AsyncLazy
<T> Create<T>(T value)
45
=>
AsyncLazy
<T>.Create<T>(value);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AsyncLazy`1.cs (5)
20
public static
AsyncLazy
<T> Create<TData>(
28
public static
AsyncLazy
<T> Create<TData>(T value)
38
/// Creators of an <see cref="
AsyncLazy
{T}" /> can specify whether the result of the computation is
121
public static
AsyncLazy
<T> CreateImpl(T value)
124
public static
AsyncLazy
<T> CreateImpl(