Skip to content

Latest commit

 

History

History
65 lines (43 loc) · 2.96 KB

File metadata and controls

65 lines (43 loc) · 2.96 KB

ExpressionSimilarity.AreSimilar Method

Index > ExpressionPowerTools.Core > ExpressionPowerTools.Core.Comparisons > ExpressionSimilarity > AreSimilar

Entry for similarity comparisons. Will cast to known types and compare.

Overloads

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.

AreSimilar(Expression source, Expression target)

Entry for similarity comparisons. Will cast to known types and compare.

public static Boolean AreSimilar(Expression source, Expression target)

Return Type

Boolean - A flag indicating whether the source and target are similar.

Parameters

Parameter Type Description
source Expression The source Expression .
target Expression The target Expression to compare to.

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.

public static Boolean AreSimilar(IEnumerable<Expression> source, IEnumerable<Expression> target)

Return Type

Boolean - A flag indicating whether the two sets of expressions are Similar.

Parameters

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