Index > ExpressionPowerTools.Core > ExpressionPowerTools.Core.Comparisons > DefaultHighPerformanceRules > CheckEquivalency
Check equivalency for a given type.
| Overload | Description |
|---|---|
| CheckEquivalency(Expression source, Expression target) | Generic equivilency check. |
| CheckEquivalency<T>(T source, Expression target) | Check equivalency for a given type. |
Generic equivilency check.
public virtual Boolean CheckEquivalency(Expression source, Expression target)Boolean - A value indicating whether the expressions are equivalent.
| Parameter | Type | Description |
|---|---|---|
source |
Expression | The source Expression . |
target |
Expression | The target Expression . |
| Exception | Description |
|---|---|
| ArgumentNullException | Throws when source or target are null. |
Check equivalency for a given type.
public virtual Boolean CheckEquivalency<T>(T source, Expression target)Boolean - A value indicating whether the expressions are equivalent.
| Parameter | Type | Description |
|---|---|---|
source |
T | The source Expression . |
target |
Expression | The target Expression . |
| Exception | Description |
|---|---|
| ArgumentNullException | Throws when source or target are null. |
| Generated | Copyright | Version |
|---|---|---|
| 02/22/2021 21:59:57 | (c) Copyright 2020 Jeremy Likness. | 0.9.7-beta |