Class LikenessSource<TSource>
Defines the source-side of a Likeness<TSource, TDestination>.
Inheritance
System.Object
LikenessSource<TSource>
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.Fluent
Assembly: SemanticComparison.dll
Syntax
public class LikenessSource<TSource>
Type Parameters
Name | Description |
---|---|
TSource | The type of the source value. |
Constructors
| Improve this Doc View SourceLikenessSource(TSource)
Initializes a new instance of the LikenessSource<TSource> class with the supplied value.
Declaration
public LikenessSource(TSource value)
Parameters
Type | Name | Description |
---|---|---|
TSource | value | The source value. |
Methods
| Improve this Doc View SourceOfLikeness<TDestination>()
Creates a Likeness<TSource, TDestination> instance.
Declaration
public Likeness<TSource, TDestination> OfLikeness<TDestination>()
Returns
Type | Description |
---|---|
Likeness<TSource, TDestination> | A new instance of Likeness<TSource, TDestination> that contains the source value defined in the constructor. |
Type Parameters
Name | Description |
---|---|
TDestination | The data type of the destination. |