RecordType<A> Class

Supports the building of record types (classes with sets of readonly field values) Provides structural equality testing, ordering, and hashing

DECLARATION
public static class RecordType<A>
NAMESPACE
LanguageExt

Fields

Compare
SUMMARY

General typed comparison function for record types

DECLARATION
public static readonly Func<A, A, int> Compare
Equality
SUMMARY

General equality function for record types

DECLARATION
public static readonly Func<A, object, bool> Equality
EqualityTyped
SUMMARY

General typed equality function for record types

DECLARATION
public static readonly Func<A, A, bool> EqualityTyped
Hash
SUMMARY

General hash code function for record types

DECLARATION
public static readonly Func<A, int> Hash

Methods

Equals(object, object)
PARAMETERS
objA
object
objB
object
DECLARATION
[Obsolete("Don't use Equals - use either RecordType<A>.Equality or RecordType<A>.EqualityTyped")]
public static new bool Equals(object objA, object objB)
RETURNS
bool