ReverseComparer<T> Class

Summary

An System.Collections.Generic.IComparer`1 which reverses the default comparison.
Assembly
Animancer.dll
Namespace
Animancer.FSM
Interfaces
  • IComparer<T>
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["IComparer<T>"] Type["ReverseComparer<T>"] class Type type-node

Syntax

public class ReverseComparer<T> : IComparer<T>

Type Parameters

Name Description
T

Fields

Name Constant Value Summary
Instance
The singleton instance.
static

Methods

Name Value Summary
Compare(T, T) int
Uses System.Collections.Generic.Comparer`1.Default with the parameters swapped.