Class PoolConfig

Contains pool realted configurations.

Inheritance
System.Object
PoolConfig
Implements
System.IEquatable<PoolConfig>
Namespace: Solti.Utils.DI
Assembly: Solti.Utils.DI.dll
Syntax
public sealed class PoolConfig : Object

Constructors

PoolConfig()

Declaration
public PoolConfig()

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

The default value.

Declaration
public static PoolConfig Default { get; }
Property Value
Type Description
PoolConfig

Methods

<Clone>$()

Declaration
public PoolConfig <Clone>$()
Returns
Type Description
PoolConfig

Equals(PoolConfig)

Declaration
public bool Equals(PoolConfig other)
Parameters
Type Name Description
PoolConfig other
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
Type Name Description
PoolConfig left
PoolConfig right
Returns
Type Description
System.Boolean

Inequality(PoolConfig, PoolConfig)

Declaration
public static bool operator !=(PoolConfig left, PoolConfig right)
Parameters
Type Name Description
PoolConfig left
PoolConfig right
Returns
Type Description
System.Boolean

Implements

System.IEquatable<>
In This Article
Back to top Generated by DocFX