Compartir a través de


ObjectPoolProviderExtensions.CreateStringBuilderPool Método

Definición

Sobrecargas

CreateStringBuilderPool(ObjectPoolProvider)

Crea una ObjectPool<T> instancia de que agrupa StringBuilder instancias.

CreateStringBuilderPool(ObjectPoolProvider, Int32, Int32)

Crea una ObjectPool<T> instancia de que agrupa StringBuilder instancias.

CreateStringBuilderPool(ObjectPoolProvider)

Source:
ObjectPoolProviderExtensions.cs
Source:
ObjectPoolProviderExtensions.cs
Source:
ObjectPoolProviderExtensions.cs

Crea una ObjectPool<T> instancia de que agrupa StringBuilder instancias.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::ObjectPool::ObjectPool<System::Text::StringBuilder ^> ^ CreateStringBuilderPool(Microsoft::Extensions::ObjectPool::ObjectPoolProvider ^ provider);
public static Microsoft.Extensions.ObjectPool.ObjectPool<System.Text.StringBuilder> CreateStringBuilderPool (this Microsoft.Extensions.ObjectPool.ObjectPoolProvider provider);
static member CreateStringBuilderPool : Microsoft.Extensions.ObjectPool.ObjectPoolProvider -> Microsoft.Extensions.ObjectPool.ObjectPool<System.Text.StringBuilder>
<Extension()>
Public Function CreateStringBuilderPool (provider As ObjectPoolProvider) As ObjectPool(Of StringBuilder)

Parámetros

Devoluciones

ObjectPool<T>.

Se aplica a

CreateStringBuilderPool(ObjectPoolProvider, Int32, Int32)

Source:
ObjectPoolProviderExtensions.cs
Source:
ObjectPoolProviderExtensions.cs
Source:
ObjectPoolProviderExtensions.cs

Crea una ObjectPool<T> instancia de que agrupa StringBuilder instancias.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::ObjectPool::ObjectPool<System::Text::StringBuilder ^> ^ CreateStringBuilderPool(Microsoft::Extensions::ObjectPool::ObjectPoolProvider ^ provider, int initialCapacity, int maximumRetainedCapacity);
public static Microsoft.Extensions.ObjectPool.ObjectPool<System.Text.StringBuilder> CreateStringBuilderPool (this Microsoft.Extensions.ObjectPool.ObjectPoolProvider provider, int initialCapacity, int maximumRetainedCapacity);
static member CreateStringBuilderPool : Microsoft.Extensions.ObjectPool.ObjectPoolProvider * int * int -> Microsoft.Extensions.ObjectPool.ObjectPool<System.Text.StringBuilder>
<Extension()>
Public Function CreateStringBuilderPool (provider As ObjectPoolProvider, initialCapacity As Integer, maximumRetainedCapacity As Integer) As ObjectPool(Of StringBuilder)

Parámetros

provider
ObjectPoolProvider

El parámetro de cadena de consulta ObjectPoolProvider.

initialCapacity
Int32

Capacidad inicial con la que inicializar StringBuilder instancias.

maximumRetainedCapacity
Int32

Valor máximo para Capacity que se pueda conservar cuando se devuelve una instancia.

Devoluciones

El parámetro de cadena de consulta ObjectPool<T>.

Se aplica a