Class PoolConfig
Contains pool realted configurations.
Inheritance
System.Object
PoolConfig
Assembly: Solti.Utils.DI.dll
Syntax
public sealed class PoolConfig : Object
Constructors
PoolConfig()
Declaration
Properties
Blocking
Specifies whether the pool should block or throw an exception if there is no item to return.
Declaration
public bool Blocking { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Capacity
The maximum capacity of the pool.
Declaration
public int Capacity { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Default
Declaration
public static PoolConfig Default { get; }
Property Value
Methods
<Clone>$()
Declaration
public PoolConfig <Clone>$()
Returns
Equals(PoolConfig)
Declaration
public bool Equals(PoolConfig other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Operators
Equality(PoolConfig, PoolConfig)
Declaration
public static bool operator ==(PoolConfig left, PoolConfig right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Inequality(PoolConfig, PoolConfig)
Declaration
public static bool operator !=(PoolConfig left, PoolConfig right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Implements
System.IEquatable<>