NanoByte.Common
2.6.1
|
A rule for Bucketizer<T>. More...
Public Member Functions | |
BucketRule (Predicate< T > predicate, ICollection< T > bucket) | |
Creates a new bucket rule. More... | |
BucketRule (TValue value, ICollection< TElement > bucket) | |
Creates a new bucket rule. More... | |
Public Attributes | |
readonly Predicate< T > | Predicate |
A condition to check elements against. More... | |
readonly ICollection< T > | Bucket |
The collection elements are added to if they match the Predicate. More... | |
readonly TValue | Value |
A value to check elements against. More... | |
readonly ICollection< TElement > | Bucket |
The collection elements are added to if they match the Value. More... | |
A rule for Bucketizer<T>.
A rule for Bucketizer<TElement,TValue>.
|
inline |
Creates a new bucket rule.
predicate | A condition to check elements against. |
bucket | The collection elements are added to if they match the predicate . |
|
inline |
Creates a new bucket rule.
value | A value to compare with the result of the value retriever using object.Equals(object,object). |
bucket | The collection elements are added to if they match the value . |
readonly ICollection<T> NanoByte.Common.Dispatch.BucketRule< TElement, TValue >.Bucket |
The collection elements are added to if they match the Predicate.
readonly ICollection<TElement> NanoByte.Common.Dispatch.BucketRule< TElement, TValue >.Bucket |
The collection elements are added to if they match the Value.
readonly Predicate<T> NanoByte.Common.Dispatch.BucketRule< TElement, TValue >.Predicate |
A condition to check elements against.
readonly TValue NanoByte.Common.Dispatch.BucketRule< TElement, TValue >.Value |
A value to check elements against.