ObjectPoolProviderExtensions.CreateStringBuilderPool Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
CreateStringBuilderPool(ObjectPoolProvider) |
Crea un'istanza ObjectPool<T> del pool StringBuilder . |
CreateStringBuilderPool(ObjectPoolProvider, Int32, Int32) |
Crea un'istanza ObjectPool<T> del pool StringBuilder . |
CreateStringBuilderPool(ObjectPoolProvider)
- Origine:
- ObjectPoolProviderExtensions.cs
- Origine:
- ObjectPoolProviderExtensions.cs
- Origine:
- ObjectPoolProviderExtensions.cs
Crea un'istanza ObjectPool<T> del pool StringBuilder .
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)
Parametri
- provider
- ObjectPoolProvider
Oggetto ObjectPoolProvider.
Restituisce
Oggetto ObjectPool<T>.
Si applica a
CreateStringBuilderPool(ObjectPoolProvider, Int32, Int32)
- Origine:
- ObjectPoolProviderExtensions.cs
- Origine:
- ObjectPoolProviderExtensions.cs
- Origine:
- ObjectPoolProviderExtensions.cs
Crea un'istanza ObjectPool<T> del pool StringBuilder .
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)
Parametri
- provider
- ObjectPoolProvider
Oggetto ObjectPoolProvider.
- initialCapacity
- Int32
Capacità iniziale di inizializzare StringBuilder le istanze con.
- maximumRetainedCapacity
- Int32
Valore massimo per Capacity cui è consentito conservare, quando viene restituita un'istanza.
Restituisce
Oggetto ObjectPool<T>.