1 instantiation of PooledBuffer
Microsoft.AspNetCore.Components.Endpoints (1)
FormMapping\Converters\CollectionAdapters\ArrayPoolBufferAdapter.cs (1)
12
public static PooledBuffer CreateBuffer() =>
new
() { Data = ArrayPool<TElement>.Shared.Rent(16), Count = 0 };
12 references to PooledBuffer
Microsoft.AspNetCore.Components.Endpoints (12)
FormMapping\Converters\CollectionAdapters\ArrayPoolBufferAdapter.cs (5)
9
: ICollectionBufferAdapter<TCollection, ArrayPoolBufferAdapter<TCollection, TCollectionFactory, TElement>.
PooledBuffer
, TElement>
12
public static
PooledBuffer
CreateBuffer() => new() { Data = ArrayPool<TElement>.Shared.Rent(16), Count = 0 };
14
public static
PooledBuffer
Add(ref
PooledBuffer
buffer, TElement element)
28
public static TCollection ToResult(
PooledBuffer
buffer)
FormMapping\Converters\CollectionAdapters\ImmutableQueueBufferAdapter.cs (2)
28
PooledBuffer
,
30
PooledBuffer
,
FormMapping\Converters\CollectionAdapters\ImmutableStackBufferAdapter.cs (2)
28
PooledBuffer
,
30
PooledBuffer
,
FormMapping\Factories\Collections\TypedCollectionConverterFactory.cs (3)
124
ArrayPoolBufferAdapter<TElement[], ArrayCollectionFactory<TElement>, TElement>.
PooledBuffer
,
158
new CollectionConverter<ImmutableQueue<TElement>, ImmutableQueueBufferAdapter<TElement>, ImmutableQueueBufferAdapter<TElement>.
PooledBuffer
, TElement>(elementTypeConverter),
160
new CollectionConverter<ImmutableStack<TElement>, ImmutableStackBufferAdapter<TElement>, ImmutableStackBufferAdapter<TElement>.
PooledBuffer
, TElement>(elementTypeConverter),