12 implementations of Create
Microsoft.AspNetCore.Antiforgery (1)
Internal\AntiforgerySerializationContextPooledObjectPolicy.cs (1)
10public AntiforgerySerializationContext Create()
Microsoft.AspNetCore.Mvc.NewtonsoftJson (1)
JsonSerializerObjectPolicy.cs (1)
27public JsonSerializer Create() => JsonSerializer.Create(_serializerSettings);
Microsoft.AspNetCore.Routing (1)
UriBuilderContextPooledObjectPolicy.cs (1)
11public UriBuildingContext Create()
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (1)
Internal\NamedPipeConnectionListener.cs (1)
195public NamedPipeServerStream Create()
Microsoft.Extensions.AsyncState (1)
FeaturesPooledPolicy.cs (1)
12public List<object?> Create()
Microsoft.Extensions.Http.Resilience (2)
Routing\Internal\OrderedGroups\OrderedGroupsRoutingStrategyFactory.cs (1)
32OrderedGroupsRoutingStrategy IPooledObjectPolicy<OrderedGroupsRoutingStrategy>.Create() => new(_randomizer, _pool);
Routing\Internal\WeightedGroups\WeightedGroupsRoutingStrategyFactory.cs (1)
32WeightedGroupsRoutingStrategy IPooledObjectPolicy<WeightedGroupsRoutingStrategy>.Create() => new(_randomizer, _pool);
Microsoft.Extensions.ObjectPool (1)
PooledObjectPolicy.cs (1)
13public abstract T Create();
Microsoft.Extensions.ObjectPool.DependencyInjection (1)
DependencyInjectionPooledObjectPolicy.cs (1)
25public TService Create() => (TService)_factory(_provider, Array.Empty<object?>());
Microsoft.Extensions.ObjectPool.Tests (2)
DefaultObjectPoolTest.cs (1)
102public List<int> Create()
DisposableObjectPoolTest.cs (1)
127public List<int> Create()
Shared.Tests (1)
Pools\PoolTests.cs (1)
37public Foo Create()
1 reference to Create
Microsoft.Extensions.ObjectPool (1)
DefaultObjectPool.cs (1)
42_createFunc = policy.Create;