Method | Description | |
---|---|---|
Criterion ( target, IEqualityComparer comparer ) : System |
Initializes a new instance of the Criterion{T} class.
|
|
Equals ( other ) : bool |
Compares a candidate value against this Criterion{T}. This method compares the candidate other against Target, using Comparer as the comparison method. If this combination of target value and comparison method deems the candidate to be equal to this criterion, the return value is |
|
Equals ( object obj ) : bool |
Determines whether this object is equal to another object.
|
|
GetHashCode ( ) : int |
Returns the hash code for the object.
|
public Criterion ( target, IEqualityComparer comparer ) : System | ||
target |
/// The target value against which candidates will be compared. Can be
/// |
|
comparer | IEqualityComparer |
/// The comparison method used to compare candidates against
/// |
return | System |
public Equals ( other ) : bool | ||
other | /// The candidate to compare against this value. /// | |
return | bool |
public Equals ( object obj ) : bool | ||
obj | object | The object to compare to this object. |
return | bool |