Class LikenessMember<TSource, TDestination>
Encapsulates information about a member (property or field) which is used in a Likeness<TSource, TDestination> comparison.
Inheritance
System.Object
LikenessMember<TSource, TDestination>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: SemanticComparison
Assembly: SemanticComparison.dll
Syntax
public class LikenessMember<TSource, TDestination>
Type Parameters
Name | Description |
---|---|
TSource | The type of the source value. |
TDestination | The type of the destination that is evaluated against the source value. |
Methods
| Improve this Doc View SourceEqualsWhen(Func<TSource, TDestination, Boolean>)
Returns a new Likeness<TSource, TDestination> that includes the specified evaluator.
Declaration
public Likeness<TSource, TDestination> EqualsWhen(Func<TSource, TDestination, bool> evaluator)
Parameters
Type | Name | Description |
---|---|---|
System.Func<TSource, TDestination, System.Boolean> | evaluator | An expression that evaluates the source value against the destination value for the property or field encapsulated by the instance. |
Returns
Type | Description |
---|---|
Likeness<TSource, TDestination> | A new Likeness<TSource, TDestination> that includes
|