LanguageExt.Core

LanguageExt.Core Class Instances Ord

Contents

struct OrdArr <OrdA, A> Source #

where OrdA : Ord<A>

Equality and ordering

Methods

method bool Equals (Arr<A> x, Arr<A> y) Source #

Equality test

Parameters

param x

The left hand side of the equality operation

param y

The right hand side of the equality operation

returns

True if x and y are equal

method int Compare (Arr<A> mx, Arr<A> my) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

method int GetHashCode (Arr<A> x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

struct OrdArr <A> Source #

Equality and ordering

Methods

method bool Equals (Arr<A> x, Arr<A> y) Source #

Equality test

Parameters

param x

The left hand side of the equality operation

param y

The right hand side of the equality operation

returns

True if x and y are equal

method int Compare (Arr<A> mx, Arr<A> my) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

method int GetHashCode (Arr<A> x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

struct OrdArray <OrdA, A> Source #

where OrdA : Ord<A>

Equality and ordering

Methods

method bool Equals (A[] x, A[] y) Source #

Equality test

Parameters

param x

The left hand side of the equality operation

param y

The right hand side of the equality operation

returns

True if x and y are equal

method int Compare (A[] mx, A[] my) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

method int GetHashCode (A[] x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

struct OrdArray <A> Source #

Equality and ordering

Methods

method bool Equals (A[] x, A[] y) Source #

Equality test

Parameters

param x

The left hand side of the equality operation

param y

The right hand side of the equality operation

returns

True if x and y are equal

method int Compare (A[] mx, A[] my) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

method int GetHashCode (A[] x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

struct OrdBigInt Source #

Equality and ordering

Methods

method bool Equals (bigint x, bigint y) Source #

Equality test

Parameters

param x

The left hand side of the equality operation

param y

The right hand side of the equality operation

returns

True if x and y are equal

method int Compare (bigint x, bigint y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1

if x less than y : -1

if x equals y : 0

method int GetHashCode (bigint x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

struct OrdBool Source #

Equality and ordering

Methods

method bool Equals (bool x, bool y) Source #

Equality test

Parameters

param x

The left hand side of the equality operation

param y

The right hand side of the equality operation

returns

True if x and y are equal

method int Compare (bool x, bool y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1

if x less than y : -1

if x equals y : 0

method int GetHashCode (bool x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

struct OrdChar Source #

Equality and ordering

Fields

Methods

method bool Equals (char x, char y) Source #

Equality test

Parameters

param x

The left hand side of the equality operation

param y

The right hand side of the equality operation

returns

True if x and y are equal

method int Compare (char x, char y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1

if x less than y : -1

if x equals y : 0

method int GetHashCode (char x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

struct OrdDateTime Source #

Equality and ordering

Methods

method bool Equals (DateTime x, DateTime y) Source #

Equality test

Parameters

param x

The left hand side of the equality operation

param y

The right hand side of the equality operation

returns

True if x and y are equal

method int Compare (DateTime x, DateTime y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1

if x less than y : -1

if x equals y : 0

method int GetHashCode (DateTime x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

struct OrdDecimal Source #

Equality and ordering

Methods

method bool Equals (decimal x, decimal y) Source #

Equality test

Parameters

param x

The left hand side of the equality operation

param y

The right hand side of the equality operation

returns

True if x and y are equal

method int Compare (decimal x, decimal y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1

if x less than y : -1

if x equals y : 0

method int GetHashCode (decimal x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

struct OrdDefault <A> Source #

Methods

method int Compare (A x, A y) Source #

Equality test

Parameters

param x

The left hand side of the equality operation

param y

The right hand side of the equality operation

returns

True if x and y are equal

method bool Equals (A x, A y) Source #

method int GetHashCode (A x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

struct OrdDouble Source #

Equality and ordering

Methods

method bool Equals (double x, double y) Source #

Equality test

Parameters

param x

The left hand side of the equality operation

param y

The right hand side of the equality operation

returns

True if x and y are equal

method int Compare (double x, double y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1

if x less than y : -1

if x equals y : 0

method int GetHashCode (double x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

struct OrdEither <OrdL, OrdR, L, R> Source #

where OrdL : Ord<L>
where OrdR : Ord<R>

Either type hashing

Methods

method int Compare (Either<L, R> x, Either<L, R> y) Source #

Ordering test

method bool Equals (Either<L, R> x, Either<L, R> y) Source #

Equality test

method int GetHashCode (Either<L, R> x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

struct OrdEither <L, R> Source #

Either type hashing

Methods

method int Compare (Either<L, R> x, Either<L, R> y) Source #

Ordering test

method bool Equals (Either<L, R> x, Either<L, R> y) Source #

Equality test

method int GetHashCode (Either<L, R> x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

struct OrdEnumerable <OrdA, A> Source #

where OrdA : Ord<A>

Equality and ordering

Fields

field OrdEnumerable<OrdA, A> Inst = default(OrdEnumerable<OrdA, A>) Source #

Methods

method bool Equals (IEnumerable<A> x, IEnumerable<A> y) Source #

Equality test

Parameters

param x

The left hand side of the equality operation

param y

The right hand side of the equality operation

returns

True if x and y are equal

method int Compare (IEnumerable<A> x, IEnumerable<A> y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

method int GetHashCode (IEnumerable<A> x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

struct OrdEnumerable <A> Source #

Equality and ordering

Methods

method bool Equals (IEnumerable<A> x, IEnumerable<A> y) Source #

Equality test

Parameters

param x

The left hand side of the equality operation

param y

The right hand side of the equality operation

returns

True if x and y are equal

method int Compare (IEnumerable<A> x, IEnumerable<A> y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

method int GetHashCode (IEnumerable<A> x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

struct OrdException Source #

Methods

method int GetHashCode (Exception x) Source #

method bool Equals (Exception x, Exception y) Source #

method int Compare (Exception x, Exception y) Source #

struct OrdFloat Source #

Equality and ordering

Methods

method bool Equals (float x, float y) Source #

Equality test

Parameters

param x

The left hand side of the equality operation

param y

The right hand side of the equality operation

returns

True if x and y are equal

method int Compare (float x, float y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1

if x less than y : -1

if x equals y : 0

method int GetHashCode (float x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

struct OrdGuid Source #

Equality and ordering

Methods

method bool Equals (Guid x, Guid y) Source #

Equality test

Parameters

param x

The left hand side of the equality operation

param y

The right hand side of the equality operation

returns

True if x and y are equal

method int Compare (Guid x, Guid y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1

if x less than y : -1

if x equals y : 0

method int GetHashCode (Guid x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

struct OrdHashSet <OrdA, A> Source #

where OrdA : Ord<A>

Equality and ordering

Methods

method bool Equals (HashSet<A> x, HashSet<A> y) Source #

Equality test

Parameters

param x

The left hand side of the equality operation

param y

The right hand side of the equality operation

returns

True if x and y are equal

method int Compare (HashSet<A> x, HashSet<A> y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

method int GetHashCode (HashSet<A> x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

struct OrdHashSet <A> Source #

Equality and ordering

Methods

method bool Equals (HashSet<A> x, HashSet<A> y) Source #

Equality test

Parameters

param x

The left hand side of the equality operation

param y

The right hand side of the equality operation

returns

True if x and y are equal

method int Compare (HashSet<A> x, HashSet<A> y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

method int GetHashCode (HashSet<A> x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

struct OrdInt Source #

Equality and ordering

Methods

method bool Equals (int x, int y) Source #

Equality test

Parameters

param x

The left hand side of the equality operation

param y

The right hand side of the equality operation

returns

True if x and y are equal

method int Compare (int x, int y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1

if x less than y : -1

if x equals y : 0

method int GetHashCode (int x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

struct OrdIterable <OrdA, A> Source #

where OrdA : Ord<A>

Equality and ordering

Methods

method bool Equals (Iterable<A> x, Iterable<A> y) Source #

Equality test

Parameters

param x

The left hand side of the equality operation

param y

The right hand side of the equality operation

returns

True if x and y are equal

method int Compare (Iterable<A> x, Iterable<A> y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

method int GetHashCode (Iterable<A> x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

struct OrdIterable <A> Source #

Equality and ordering

Methods

method bool Equals (Iterable<A> x, Iterable<A> y) Source #

Equality test

Parameters

param x

The left hand side of the equality operation

param y

The right hand side of the equality operation

returns

True if x and y are equal

method int Compare (Iterable<A> x, Iterable<A> y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

method int GetHashCode (Iterable<A> x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

struct OrdLong Source #

Equality and ordering

Methods

method bool Equals (long x, long y) Source #

Equality test

Parameters

param x

The left hand side of the equality operation

param y

The right hand side of the equality operation

returns

True if x and y are equal

method int Compare (long x, long y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1

if x less than y : -1

if x equals y : 0

method int GetHashCode (long x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

struct OrdLst <OrdA, A> Source #

where OrdA : Ord<A>

Equality and ordering

Methods

method bool Equals (Lst<A> x, Lst<A> y) Source #

Equality test

Parameters

param x

The left hand side of the equality operation

param y

The right hand side of the equality operation

returns

True if x and y are equal

method int Compare (Lst<A> mx, Lst<A> my) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

method int GetHashCode (Lst<A> x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

struct OrdLst <A> Source #

Equality and ordering

Methods

method bool Equals (Lst<A> x, Lst<A> y) Source #

Equality test

Parameters

param x

The left hand side of the equality operation

param y

The right hand side of the equality operation

returns

True if x and y are equal

method int Compare (Lst<A> x, Lst<A> y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

method int GetHashCode (Lst<A> x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

struct OrdMap <OrdK, K, V> Source #

where OrdK : Ord<K>

Equality and ordering

Methods

method int Compare (Map<OrdK, K, V> x, Map<OrdK, K, V> y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

method bool Equals (Map<OrdK, K, V> x, Map<OrdK, K, V> y) Source #

Equality test

Parameters

param x

The left hand side of the equality operation

param y

The right hand side of the equality operation

returns

True if x and y are equal

method int GetHashCode (Map<OrdK, K, V> x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

struct OrdMap <K, V> Source #

Equality and ordering

Methods

method int Compare (Map<K, V> x, Map<K, V> y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

method bool Equals (Map<K, V> x, Map<K, V> y) Source #

Equality test

Parameters

param x

The left hand side of the equality operation

param y

The right hand side of the equality operation

returns

True if x and y are equal

method int GetHashCode (Map<K, V> x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

struct OrdOption <OrdA, A> Source #

where OrdA : Ord<A>

Methods

method int Compare (Option<A> x, Option<A> y) Source #

method bool Equals (Option<A> x, Option<A> y) Source #

method int GetHashCode (Option<A> x) Source #

struct OrdOptional <OrdA, OPTION, OA, A> Source #

where OrdA : Ord<A>
where OPTION : Optional<OA, A>

Compare the equality and ordering of any type in the Optional trait

Methods

method bool Equals (OA x, OA y) Source #

Equality test

Parameters

param x

The left hand side of the equality operation

param y

The right hand side of the equality operation

returns

True if x and y are equal

method int Compare (OA mx, OA my) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1

if x less than y : -1

if x equals y : 0

method int GetHashCode (OA x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

struct OrdOptional <OPTION, OA, A> Source #

where OPTION : Optional<OA, A>

Compare the equality and ordering of any type in the Optional trait

Methods

method bool Equals (OA x, OA y) Source #

Equality test

Parameters

param x

The left hand side of the equality operation

param y

The right hand side of the equality operation

returns

True if x and y are equal

method int Compare (OA mx, OA my) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1

if x less than y : -1

if x equals y : 0

method int GetHashCode (OA x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

struct OrdQue <OrdA, A> Source #

where OrdA : Ord<A>

Equality and ordering

Methods

method bool Equals (Que<A> x, Que<A> y) Source #

Equality test

Parameters

param x

The left hand side of the equality operation

param y

The right hand side of the equality operation

returns

True if x and y are equal

method int Compare (Que<A> x, Que<A> y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

method int GetHashCode (Que<A> x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

struct OrdQue <A> Source #

Equality and ordering

Methods

method bool Equals (Que<A> x, Que<A> y) Source #

Equality test

Parameters

param x

The left hand side of the equality operation

param y

The right hand side of the equality operation

returns

True if x and y are equal

method int Compare (Que<A> x, Que<A> y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

method int GetHashCode (Que<A> x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

struct OrdRecord <A> Source #

where A : Record<A>

Ordering class instance for all record types

Parameters

type A

Record type

Methods

method int Compare (A x, A y) Source #

method bool Equals (A x, A y) Source #

method int GetHashCode (A x) Source #

struct OrdSeq <OrdA, A> Source #

where OrdA : Ord<A>

Equality and ordering

Methods

method bool Equals (Seq<A> x, Seq<A> y) Source #

Equality test

Parameters

param x

The left hand side of the equality operation

param y

The right hand side of the equality operation

returns

True if x and y are equal

method int Compare (Seq<A> x, Seq<A> y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

method int GetHashCode (Seq<A> x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

struct OrdSeq <A> Source #

Equality and ordering

Methods

method bool Equals (Seq<A> x, Seq<A> y) Source #

Equality test

Parameters

param x

The left hand side of the equality operation

param y

The right hand side of the equality operation

returns

True if x and y are equal

method int Compare (Seq<A> x, Seq<A> y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

method int GetHashCode (Seq<A> x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

struct OrdSet <OrdA, A> Source #

where OrdA : Ord<A>

Equality and ordering

Methods

method bool Equals (Set<A> x, Set<A> y) Source #

Equality test

Parameters

param x

The left hand side of the equality operation

param y

The right hand side of the equality operation

returns

True if x and y are equal

method int Compare (Set<A> x, Set<A> y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

method int GetHashCode (Set<A> x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

struct OrdSet <A> Source #

Equality and ordering

Methods

method bool Equals (Set<A> x, Set<A> y) Source #

Equality test

Parameters

param x

The left hand side of the equality operation

param y

The right hand side of the equality operation

returns

True if x and y are equal

method int Compare (Set<A> x, Set<A> y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

method int GetHashCode (Set<A> x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

struct OrdShort Source #

Equality and ordering

Methods

method bool Equals (short x, short y) Source #

Equality test

Parameters

param x

The left hand side of the equality operation

param y

The right hand side of the equality operation

returns

True if x and y are equal

method int Compare (short x, short y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1

if x less than y : -1

if x equals y : 0

method int GetHashCode (short x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

struct OrdStck <OrdA, A> Source #

where OrdA : Ord<A>

Equality and ordering

Methods

method bool Equals (Stck<A> x, Stck<A> y) Source #

Equality test

Parameters

param x

The left hand side of the equality operation

param y

The right hand side of the equality operation

returns

True if x and y are equal

method int Compare (Stck<A> x, Stck<A> y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

method int GetHashCode (Stck<A> x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

struct OrdStck <A> Source #

Equality and ordering

Methods

method bool Equals (Stck<A> x, Stck<A> y) Source #

Equality test

Parameters

param x

The left hand side of the equality operation

param y

The right hand side of the equality operation

returns

True if x and y are equal

method int Compare (Stck<A> x, Stck<A> y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

method int GetHashCode (Stck<A> x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

struct OrdString Source #

String comparison

Methods

method int Compare (string a, string b) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if a greater than b : 1 if a less than b : -1 if a equals b : 0

method bool Equals (string a, string b) Source #

Equality test

Parameters

param a

The left hand side of the equality operation

param b

The right hand side of the equality operation

returns

True if a and b are equal

method int GetHashCode (string x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

struct OrdStringOrdinalIgnoreCase Source #

String comparison (ordinal, ignore case)

Methods

method int Compare (string a, string b) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if a greater than b : 1 if a less than b : -1 if a equals b : 0

method bool Equals (string a, string b) Source #

Equality test

Parameters

param a

The left hand side of the equality operation

param b

The right hand side of the equality operation

returns

True if a and b are equal

method int GetHashCode (string x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

struct OrdStringOrdinal Source #

String comparison (ordinal)

Methods

method int Compare (string a, string b) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if a greater than b : 1 if a less than b : -1 if a equals b : 0

method bool Equals (string a, string b) Source #

Equality test

Parameters

param a

The left hand side of the equality operation

param b

The right hand side of the equality operation

returns

True if a and b are equal

method int GetHashCode (string x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

struct OrdStringCurrentCultureIgnoreCase Source #

String comparison (current culture, ignore case)

Methods

method int Compare (string a, string b) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if a greater than b : 1 if a less than b : -1 if a equals b : 0

method bool Equals (string a, string b) Source #

Equality test

Parameters

param a

The left hand side of the equality operation

param b

The right hand side of the equality operation

returns

True if a and b are equal

method int GetHashCode (string x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

struct OrdStringCurrentCulture Source #

String comparison (current culture)

Methods

method int Compare (string a, string b) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if a greater than b : 1 if a less than b : -1 if a equals b : 0

method bool Equals (string a, string b) Source #

Equality test

Parameters

param a

The left hand side of the equality operation

param b

The right hand side of the equality operation

returns

True if a and b are equal

method int GetHashCode (string x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

struct OrdTask <A> Source #

Methods

method int Compare (Task<A> x, Task<A> y) Source #

method bool Equals (Task<A> x, Task<A> y) Source #

method int GetHashCode (Task<A> x) Source #

struct OrdTrue <A> Source #

Always returns true for equality checks and 0 for ordering

Methods

method int Compare (A x, A y) Source #

method bool Equals (A x, A y) Source #

method int GetHashCode (A x) Source #

struct OrdTupleFirst <OrdA, A, B> Source #

where OrdA : Ord<A>

Ord instance for a pair tuple. It orders using the first item in the tuple only and the provided OrdA.

Methods

method int Compare ((A, B) x, (A, B) y) Source #

method bool Equals ((A, B) x, (A, B) y) Source #

method int GetHashCode ((A, B) x) Source #

struct OrdTypeInfo Source #

Methods

method int Compare (TypeInfo x, TypeInfo y) Source #

method bool Equals (TypeInfo x, TypeInfo y) Source #

method int GetHashCode (TypeInfo x) Source #