EqualityAdapter Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
EqualityAdapter class handles all equality comparisons that use an IEqualityComparer, IEqualityComparer<T> or a ComparisonAdapter.
public abstract class EqualityAdapter
type EqualityAdapter = class
- Inheritance
-
EqualityAdapter
Constructors
EqualityAdapter() |
Methods
AreEqual(Object, Object) | |
CanCompare(Object, Object) | |
For(IComparer) |
Returns an EqualityAdapter that wraps an IComparer. |
For(IEqualityComparer) |
Returns an EqualityAdapter that wraps an IEqualityComparer. |
For<T>(Comparison<T>) |
Returns an EqualityAdapter that wraps a Comparison<T>. |
For<T>(IComparer<T>) |
Returns an EqualityAdapter that wraps an IComparer<T>. |
For<T>(IEqualityComparer<T>) |
Returns an EqualityAdapter that wraps an IEqualityComparer<T>. |