Class BucketRule<T>
A rule for Bucketizer<T>.
public class BucketRule<T>
Type Parameters
T
- Inheritance
-
objectBucketRule<T>
- Extension Methods
Constructors
BucketRule(Predicate<T>, ICollection<T>)
A rule for Bucketizer<T>.
public BucketRule(Predicate<T> predicate, ICollection<T> bucket)
Parameters
predicate
Predicate<T>A condition to check elements against.
bucket
ICollection<T>The collection elements are added to if they match the
predicate
.
Fields
Bucket
The collection elements are added to if they match the Predicate.
public readonly ICollection<T> Bucket
Field Value
- ICollection<T>
Predicate
A condition to check elements against.
public readonly Predicate<T> Predicate
Field Value
- Predicate<T>