2 overrides of Create
Microsoft.Extensions.ObjectPool (2)
DefaultObjectPoolProvider.cs (1)
20public override ObjectPool<T> Create<T>(IPooledObjectPolicy<T> policy)
LeakTrackingObjectPoolProvider.cs (1)
31public override ObjectPool<T> Create<T>(IPooledObjectPolicy<T> policy)
9 references to Create
Microsoft.AspNetCore.Antiforgery (1)
AntiforgeryServiceCollectionExtensions.cs (1)
43return provider.Create(policy);
Microsoft.AspNetCore.Mvc.NewtonsoftJson (1)
NewtonsoftJsonInputFormatter.cs (1)
332_jsonSerializerPool = _objectPoolProvider.Create(new JsonSerializerObjectPolicy(SerializerSettings));
Microsoft.AspNetCore.Routing (1)
DependencyInjection\RoutingServiceCollectionExtensions.cs (1)
54return provider.Create<UriBuildingContext>(new UriBuilderContextPooledObjectPolicy());
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (1)
Internal\NamedPipeConnectionListener.cs (1)
47_namedPipeServerStreamPool = objectPoolProvider.Create(_poolPolicy);
Microsoft.Extensions.ObjectPool (5)
LeakTrackingObjectPoolProvider.cs (1)
33var inner = _inner.Create<T>(policy);
ObjectPool.cs (1)
30/// <inheritdoc cref="ObjectPoolProvider.Create{T}(IPooledObjectPolicy{T})" />
ObjectPoolProvider.cs (1)
17return Create<T>(new DefaultPooledObjectPolicy<T>());
ObjectPoolProviderExtensions.cs (2)
20return provider.Create<StringBuilder>(new StringBuilderPooledObjectPolicy()); 42return provider.Create<StringBuilder>(policy);