PooledAttribute API Document
Indicates that the target components wants a pooled lifestyle.
Constructors
PooledAttribute()
Initializes a new instance of the Castle.Core.PooledAttribute class using the default initial pool size (5) and the max pool size (15).
PooledAttribute(Int32 initialPoolSize, Int32 maxPoolSize)
Initializes a new instance of the Castle.Core.PooledAttribute class.
| Parameter | Description |
|---|---|
| initialPoolSize | Initial size of the pool. |
| maxPoolSize | Max pool size. |
Properties
| Name | Type | Description |
|---|---|---|
| InitialPoolSize | Int32 | Gets the initial size of the pool. |
| MaxPoolSize | Int32 | Gets the maximum pool size. |
| Lifestyle | LifestyleType | Gets or sets the lifestyle. |