Struct PooledObjectValidationContext
- Namespace
- CodeProject.ObjectPool.Core
- Assembly
- CodeProject.ObjectPool.dll
Contains additional info which might be useful when performing an object validation step.
public record struct PooledObjectValidationContext : IEquatable<PooledObjectValidationContext>
- Implements
- Inherited Members
Properties
Direction
Whether an object is going out of the pool or into the pool.
public readonly PooledObjectDirection Direction { get; }
Property Value
PooledObject
The pooled object which has to be validated.
public readonly PooledObject? PooledObject { get; }
Property Value
PooledObjectInfo
Info about the pooled object which has to be validated.
public PooledObjectInfo? PooledObjectInfo { get; }