LanguageExt.Core

LanguageExt.Core Class Instances EqAsync

Contents

struct EqDefaultAsync <A> Source #

Finds an appropriate Eq from the loaded assemblies, if one can't be found then it falls back to the standard .NET EqualityComparer.Default.Equals(a,b) method to provide equality testing.

Methods

method Task<bool> EqualsAsync (A a, A b) 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 Task<int> GetHashCodeAsync (A 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 EqEitherAsync <L, R> Source #

Either type equality

Methods

method Task<bool> EqualsAsync (EitherAsync<L, R> x, EitherAsync<L, R> y) Source #

method Task<int> GetHashCodeAsync (EitherAsync<L, R> x) Source #

struct EqEitherAsync <EqL, EqR, L, R> Source #

where EqL : struct, EqAsync<L>
where EqR : struct, EqAsync<R>

Either type equality

Methods

method Task<bool> EqualsAsync (EitherAsync<L, R> x, EitherAsync<L, R> y) Source #

method Task<int> GetHashCodeAsync (EitherAsync<L, R> x) Source #

struct EqOptionAsync <EqA, A> Source #

where EqA : struct, EqAsync<A>

Option type equality

Methods

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

method Task<int> GetHashCodeAsync (OptionAsync<A> x) Source #

struct EqOptionAsync <A> Source #

Option type equality

Methods

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

method Task<int> GetHashCodeAsync (OptionAsync<A> x) Source #

struct EqTaskAsync <A> Source #

Methods

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

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

struct EqTaskAsync <EqA, A> Source #

where EqA : struct, EqAsync<A>

Methods

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

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

struct EqTryAsync <EqA, A> Source #

where EqA : struct, EqAsync<A>

Methods

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

method Task<int> GetHashCodeAsync (TryAsync<A> x) Source #

struct EqTryAsync <A> Source #

Methods

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

method Task<int> GetHashCodeAsync (TryAsync<A> x) Source #

struct EqTryOptionAsync <EqA, A> Source #

where EqA : struct, EqAsync<A>

Methods

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

method Task<int> GetHashCodeAsync (TryOptionAsync<A> x) Source #

struct EqTryOptionAsync <A> Source #

Methods

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

method Task<int> GetHashCodeAsync (TryOptionAsync<A> x) Source #

struct EqValueTaskAsync <A> Source #

Methods

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

method Task<int> GetHashCodeAsync (ValueTask<A> x) Source #

struct EqValueTaskAsync <EqA, A> Source #

where EqA : struct, EqAsync<A>

Methods

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

method Task<int> GetHashCodeAsync (ValueTask<A> x) Source #