다음을 통해 공유


ObjectPoolProviderExtensions.CreateStringBuilderPool 메서드

정의

오버로드

CreateStringBuilderPool(ObjectPoolProvider)

인스턴스를 ObjectPool<T> 풀하는 을 StringBuilder 만듭니다.

CreateStringBuilderPool(ObjectPoolProvider, Int32, Int32)

인스턴스를 ObjectPool<T> 풀하는 을 StringBuilder 만듭니다.

CreateStringBuilderPool(ObjectPoolProvider)

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

인스턴스를 ObjectPool<T> 풀하는 을 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)

매개 변수

반환

ObjectPool<T>

적용 대상

CreateStringBuilderPool(ObjectPoolProvider, Int32, Int32)

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

인스턴스를 ObjectPool<T> 풀하는 을 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)

매개 변수

initialCapacity
Int32

인스턴스를 초기화 StringBuilder 할 초기 용량입니다.

maximumRetainedCapacity
Int32

instance 반환될 때 보존할 수 있는 최대값 Capacity 입니다.

반환

ObjectPool<T>

적용 대상