Index > ExpressionPowerTools.Core > ExpressionPowerTools.Core.Comparisons > ExpressionSimilarity > AreSimilar
Entry for similarity comparisons. Will cast to known types and compare.
| Overload | Description |
|---|---|
| AreSimilar(Expression source, Expression target) | Entry for similarity comparisons. Will cast to known types and compare. |
| AreSimilar(IEnumerable<Expression> source, IEnumerable<Expression> target) | Comparison of multiple expressions. Similar only when all elements match, in order, and pass the similarity test. It's fine if the source does not have the same number of entities as the target. |
Entry for similarity comparisons. Will cast to known types and compare.
public static Boolean AreSimilar(Expression source, Expression target)Boolean - A flag indicating whether the source and target are similar.
| Parameter | Type | Description |
|---|---|---|
source |
Expression | The source Expression . |
target |
Expression | The target Expression to compare to. |
Comparison of multiple expressions. Similar only when all elements match, in order, and pass the similarity test. It's fine if the source does not have the same number of entities as the target.
public static Boolean AreSimilar(IEnumerable<Expression> source, IEnumerable<Expression> target)Boolean - A flag indicating whether the two sets of expressions are Similar.
| Parameter | Type | Description |
|---|---|---|
source |
IEnumerable<Expression> | The source expressions. |
target |
IEnumerable<Expression> | The target expressions. |
| Generated | Copyright | Version |
|---|---|---|
| 02/22/2021 21:59:57 | (c) Copyright 2020 Jeremy Likness. | 0.9.7-beta |