ComparisonUtility class

Provides methods to simplify comparing instances.

public static class ComparisonUtility

Public Members

name description
static ChainedCompare<T>(…) Executes a chained comparison between two objects.
static CreateChainedComparison<T>(…) Creates a chained comparison.
static CreateComparer<T>(…) Creates a comparer from a delegate. (2 methods)
static Max<T>(…) Compares the two instances and returns the greater of the two.
static Min<T>(…) Compares the two instances and returns the lesser of the two.

See Also