5 references to Create
Microsoft.AspNetCore.Razor.Utilities.Shared (1)
Threading\AsyncLazy.cs (1)
16
=>
Create
(
Microsoft.AspNetCore.Razor.Utilities.Shared.UnitTests (2)
Threading\AsyncLazyTests.cs (2)
42
var lazy = AsyncLazy.
Create
<object, ManualResetEvent>(
78
var lazy = AsyncLazy.
Create
(static (cancellationTokenSource, c) => Task.Run((Func<object>)(() =>
Microsoft.VisualStudio.LanguageServices.Razor (2)
Remote\RemoteServiceInvoker.cs (2)
48
private readonly AsyncLazy<RazorRemoteHostClient> _lazyMessagePackClient = AsyncLazy.
Create
(GetMessagePackClientAsync, workspaceProvider);
49
private readonly AsyncLazy<RazorRemoteHostClient> _lazyJsonClient = AsyncLazy.
Create
(GetJsonClientAsync, workspaceProvider);