1 write to _factory
Microsoft.Extensions.ObjectPool.DependencyInjection (1)
DependencyInjectionPooledObjectPolicy.cs (1)
21
_factory
= ActivatorUtilities.CreateFactory(typeof(TImplementation), Type.EmptyTypes);
1 reference to _factory
Microsoft.Extensions.ObjectPool.DependencyInjection (1)
DependencyInjectionPooledObjectPolicy.cs (1)
25
public TService Create() => (TService)
_factory
(_provider, Array.Empty<object?>());