Show / Hide Table of Contents

Struct Statics.CompareInvert<T, TCompare>

Inverts the results of a comparison.

Implements
IFunc<T, T, CompareResult>
Namespace: Towel
Assembly: Towel.dll
Syntax
public struct CompareInvert<T, TCompare> : IFunc<T, T, CompareResult> where TCompare : struct, IFunc<T, T, CompareResult>
Type Parameters
Name Description
T

The types being compared.

TCompare

The type of the compare function.

Methods

| Improve this Doc View Source

Invoke(T, T)

Declaration
public CompareResult Invoke(T a, T b)
Parameters
Type Name Description
T a
T b
Returns
Type Description
CompareResult

Operators

| Improve this Doc View Source

Implicit(TCompare to Statics.CompareInvert<T, TCompare>)

Inverts a TCompare.

Declaration
public static implicit operator Statics.CompareInvert<T, TCompare>(TCompare compare)
Parameters
Type Name Description
TCompare compare

The TCompare to invert.

Returns
Type Description
Statics.CompareInvert<T, TCompare>

Implements

IFunc<T1, T2, TResult>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX