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)
42var lazy = AsyncLazy.Create<object, ManualResetEvent>( 78var lazy = AsyncLazy.Create(static (cancellationTokenSource, c) => Task.Run((Func<object>)(() =>
Microsoft.VisualStudio.LanguageServices.Razor (2)
Remote\RemoteServiceInvoker.cs (2)
48private readonly AsyncLazy<RazorRemoteHostClient> _lazyMessagePackClient = AsyncLazy.Create(GetMessagePackClientAsync, workspaceProvider); 49private readonly AsyncLazy<RazorRemoteHostClient> _lazyJsonClient = AsyncLazy.Create(GetJsonClientAsync, workspaceProvider);