Documentation de Dvp.Net. Forum : http://www.developpez.net/forums/f1239/applications/projets/projets-heberges/dvp-net/

[Ceci est une documentation préliminaire, sous réserve de modification.]

Initializes a new instance of the ParameterizedGenericPool<(Of <(T>)>) class

Namespace:  Developpez.Dotnet.ComponentModel
Assembly:  Developpez.Dotnet (in Developpez.Dotnet.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public ParameterizedGenericPool(
	int basePooledItemCount,
	int maxPooledItemCount,
	ParameterizedGenericPool<(Of <(T>)>)..::.CreateNewItemMethod newItemAllocator
)
Visual Basic (Declaration)
Public Sub New ( _
	basePooledItemCount As Integer, _
	maxPooledItemCount As Integer, _
	newItemAllocator As ParameterizedGenericPool<(Of <(T>)>)..::.CreateNewItemMethod _
)
Visual C++
public:
ParameterizedGenericPool(
	int basePooledItemCount, 
	int maxPooledItemCount, 
	ParameterizedGenericPool<(Of <(T>)>)..::.CreateNewItemMethod^ newItemAllocator
)

Parameters

basePooledItemCount
Type: System..::.Int32
Items alloués au démarrage
maxPooledItemCount
Type: System..::.Int32
Nombre maximum d'items avant que ceux-ci ne soient relachés
newItemAllocator
Type: Developpez.Dotnet.ComponentModel..::.ParameterizedGenericPool<(Of <(T>)>)..::.CreateNewItemMethod
allocateur

See Also