If you're new to this library or functional-programming this is almost certainly not the place to start browsing!
Class-instances try to replicate the instances of Haskell in C#. They pair with the type-classes using ad-hoc polymorphism.
Ad-hoc polymorphism has long been believed to not be possible in C#. However with some cunning it is. Ad-hoc polymorphism allows
programmers to add traits to a type later. For example in C# it would be amazing if we had an interface called INumeric for numeric
types like int, long, double, etc. The reason this doesn't exist is if you write a function like:
INumeric Add(INumeric x, INumeric y) => x + y;
Then it would cause boxing. Which is slow (well, slower). I can only assume that's why it wasn't added by the BCL team. Anyway, it's possible to create a numeric type, very much like a type-class in Haskell, and ad-hoc instances of the numeric type-class that allow for generic numeric operations without boxing. See the wiki for a deeper dive into ad-hoc polymorphism
Contents
- Class <A>
 - ClassInstancesAssembly
 - singleton
 - Types
 - Structs
 - AllClassInstances
 - ClassInstances
 - Error
 - Default
 - Initialise ()
 - ClassInstancesAssembly ()
 - TArr <A>
 - TArray <A>
 - TBigInt
 - Inst = default(TBigInt)
 - Equals (bigint x, bigint y)
 - Compare (bigint x, bigint y)
 - Plus (bigint x, bigint y)
 - Subtract (bigint x, bigint y)
 - Product (bigint x, bigint y)
 - Divide (bigint x, bigint y)
 - Abs (bigint x)
 - Signum (bigint x)
 - FromInteger (int x)
 - FromDecimal (decimal x)
 - FromFloat (float x)
 - FromDouble (double x)
 - Empty ()
 - Negate (bigint x)
 - Append (bigint x, bigint y)
 - GetHashCode (bigint x)
 - True ()
 - False ()
 - And (bigint a, bigint b)
 - Or (bigint a, bigint b)
 - Not (bigint a)
 - XOr (bigint a, bigint b)
 - Implies (bigint a, bigint b)
 - BiCondition (bigint a, bigint b)
 - EqualsAsync (bigint x, bigint y)
 - GetHashCodeAsync (bigint x)
 - CompareAsync (bigint x, bigint y)
 - TBool
 - Inst = new TBool()
 - And (bool a, bool b)
 - Compare (bool x, bool y)
 - Equals (bool x, bool y)
 - False ()
 - GetHashCode (bool x)
 - Not (bool a)
 - Or (bool a, bool b)
 - True ()
 - XOr (bool a, bool b)
 - Implies (bool a, bool b)
 - BiCondition (bool a, bool b)
 - EqualsAsync (bool x, bool y)
 - GetHashCodeAsync (bool x)
 - CompareAsync (bool x, bool y)
 - TBoolBool
 - Inst = new TBool()
 - And ((bool, bool) a, (bool, bool) b)
 - Compare ((bool, bool) x, (bool, bool) y)
 - Equals ((bool, bool) x, (bool, bool) y)
 - False ()
 - GetHashCode ((bool, bool) x)
 - Not ((bool, bool) a)
 - Or ((bool, bool) a, (bool, bool) b)
 - True ()
 - XOr ((bool, bool) a, (bool, bool) b)
 - Implies ((bool, bool) a, (bool, bool) b)
 - BiCondition ((bool, bool) a, (bool, bool) b)
 - EqualsAsync ((bool, bool) x, (bool, bool) y)
 - GetHashCodeAsync ((bool, bool) x)
 - CompareAsync ((bool, bool) x, (bool, bool) y)
 - TChar
 - Inst = default(TChar)
 - Equals (char x, char y)
 - Compare (char x, char y)
 - Empty ()
 - Append (char x, char y)
 - GetHashCode (char x)
 - Plus (char x, char y)
 - Subtract (char x, char y)
 - Product (char x, char y)
 - Negate (char x)
 - EqualsAsync (char x, char y)
 - GetHashCodeAsync (char x)
 - CompareAsync (char x, char y)
 - TDecimal
 - Inst = default(TDecimal)
 - Equals (decimal x, decimal y)
 - Compare (decimal x, decimal y)
 - Plus (decimal x, decimal y)
 - Subtract (decimal x, decimal y)
 - Product (decimal x, decimal y)
 - Divide (decimal x, decimal y)
 - Abs (decimal x)
 - Signum (decimal x)
 - FromInteger (int x)
 - FromDecimal (decimal x)
 - FromFloat (float x)
 - FromDouble (double x)
 - FromRational (Ratio<int> x)
 - Pi ()
 - Exp (decimal x)
 - Sqrt (decimal x)
 - Log (decimal x)
 - Pow (decimal x, decimal y)
 - LogBase (decimal b, decimal x)
 - Sin (decimal x)
 - Cos (decimal x)
 - Tan (decimal x)
 - Asin (decimal x)
 - Acos (decimal x)
 - Atan (decimal x)
 - Sinh (decimal x)
 - Cosh (decimal x)
 - Tanh (decimal x)
 - Asinh (decimal x)
 - Acosh (decimal x)
 - Atanh (decimal x)
 - Negate (decimal x)
 - Append (decimal x, decimal y)
 - Empty ()
 - GetHashCode (decimal x)
 - EqualsAsync (decimal x, decimal y)
 - GetHashCodeAsync (decimal x)
 - CompareAsync (decimal x, decimal y)
 - TDouble
 - Inst = default(TDouble)
 - Equals (double x, double y)
 - Compare (double x, double y)
 - Plus (double x, double y)
 - Subtract (double x, double y)
 - Product (double x, double y)
 - Divide (double x, double y)
 - Abs (double x)
 - Signum (double x)
 - FromInteger (int x)
 - FromDecimal (decimal x)
 - FromFloat (float x)
 - FromDouble (double x)
 - FromRational (Ratio<int> x)
 - Pi ()
 - Exp (double x)
 - Sqrt (double x)
 - Log (double x)
 - Pow (double x, double y)
 - LogBase (double b, double x)
 - Sin (double x)
 - Cos (double x)
 - Tan (double x)
 - Asin (double x)
 - Acos (double x)
 - Atan (double x)
 - Sinh (double x)
 - Cosh (double x)
 - Tanh (double x)
 - Asinh (double x)
 - Acosh (double x)
 - Atanh (double x)
 - Negate (double x)
 - Append (double x, double y)
 - Empty ()
 - GetHashCode (double x)
 - EqualsAsync (double x, double y)
 - GetHashCodeAsync (double x)
 - CompareAsync (double x, double y)
 - TFloat
 - Inst = default(TFloat)
 - Equals (float x, float y)
 - Compare (float x, float y)
 - Plus (float x, float y)
 - Subtract (float x, float y)
 - Product (float x, float y)
 - Divide (float x, float y)
 - Abs (float x)
 - Signum (float x)
 - FromInteger (int x)
 - FromDecimal (decimal x)
 - FromFloat (float x)
 - FromDouble (double x)
 - FromRational (Ratio<int> x)
 - Pi ()
 - Exp (float x)
 - Sqrt (float x)
 - Log (float x)
 - Pow (float x, float y)
 - LogBase (float b, float x)
 - Sin (float x)
 - Cos (float x)
 - Tan (float x)
 - Asin (float x)
 - Acos (float x)
 - Atan (float x)
 - Sinh (float x)
 - Cosh (float x)
 - Tanh (float x)
 - Asinh (float x)
 - Acosh (float x)
 - Atanh (float x)
 - Negate (float x)
 - Append (float x, float y)
 - Empty ()
 - GetHashCode (float x)
 - EqualsAsync (float x, float y)
 - GetHashCodeAsync (float x)
 - CompareAsync (float x, float y)
 - TInt
 - Inst = default(TInt)
 - Equals (int x, int y)
 - Compare (int x, int y)
 - Plus (int x, int y)
 - Subtract (int x, int y)
 - Product (int x, int y)
 - Divide (int x, int y)
 - Abs (int x)
 - Signum (int x)
 - FromInteger (int x)
 - FromDecimal (decimal x)
 - FromFloat (float x)
 - FromDouble (double x)
 - Empty ()
 - Negate (int x)
 - Append (int x, int y)
 - GetHashCode (int x)
 - True ()
 - False ()
 - And (int a, int b)
 - Or (int a, int b)
 - Not (int a)
 - XOr (int a, int b)
 - Implies (int a, int b)
 - BiCondition (int a, int b)
 - EqualsAsync (int x, int y)
 - GetHashCodeAsync (int x)
 - CompareAsync (int x, int y)
 - TLong
 - Inst = default(TLong)
 - Equals (long x, long y)
 - Compare (long x, long y)
 - Plus (long x, long y)
 - Subtract (long x, long y)
 - Product (long x, long y)
 - Divide (long x, long y)
 - Abs (long x)
 - Signum (long x)
 - FromInteger (int x)
 - FromDecimal (decimal x)
 - FromFloat (float x)
 - FromDouble (double x)
 - Append (long x, long y)
 - Negate (long x)
 - Empty ()
 - GetHashCode (long x)
 - True ()
 - False ()
 - And (long a, long b)
 - Or (long a, long b)
 - Not (long a)
 - XOr (long a, long b)
 - Implies (long a, long b)
 - BiCondition (long a, long b)
 - EqualsAsync (long x, long y)
 - GetHashCodeAsync (long x)
 - CompareAsync (long x, long y)
 - TLst <A>
 - TNumericChar
 - Inst = default(TNumericChar)
 - Equals (char x, char y)
 - Compare (char x, char y)
 - Empty ()
 - Append (char x, char y)
 - GetHashCode (char x)
 - Plus (char x, char y)
 - Subtract (char x, char y)
 - Product (char x, char y)
 - Negate (char x)
 - EqualsAsync (char x, char y)
 - GetHashCodeAsync (char x)
 - CompareAsync (char x, char y)
 - TShort
 - Inst = default(TShort)
 - Equals (short x, short y)
 - Compare (short x, short y)
 - Plus (short x, short y)
 - Subtract (short x, short y)
 - Product (short x, short y)
 - Divide (short x, short y)
 - Abs (short x)
 - Signum (short x)
 - FromInteger (int x)
 - FromDecimal (decimal x)
 - FromFloat (float x)
 - FromDouble (double x)
 - Negate (short x)
 - Append (short x, short y)
 - Empty ()
 - GetHashCode (short x)
 - True ()
 - False ()
 - And (short a, short b)
 - Or (short a, short b)
 - Not (short a)
 - XOr (short a, short b)
 - Implies (short a, short b)
 - BiCondition (short a, short b)
 - EqualsAsync (short x, short y)
 - GetHashCodeAsync (short x)
 - CompareAsync (short x, short y)
 - TString
 - Inst = default(TString)
 - Append (string x, string y)
 - Empty ()
 - Equals (string x, string y)
 - Compare (string x, string y)
 - GetHashCode (string x)
 - EqualsAsync (string x, string y)
 - GetHashCodeAsync (string x)
 - CompareAsync (string x, string y)
 - TStringOrdinalIgnoreCase
 - Inst = default(TStringOrdinalIgnoreCase)
 - Append (string x, string y)
 - Empty ()
 - Equals (string x, string y)
 - Compare (string x, string y)
 - GetHashCode (string x)
 - EqualsAsync (string x, string y)
 - GetHashCodeAsync (string x)
 - CompareAsync (string x, string y)
 - TStringOrdinal
 - Inst = default(TStringOrdinal)
 - Append (string x, string y)
 - Empty ()
 - Equals (string x, string y)
 - Compare (string x, string y)
 - GetHashCode (string x)
 - EqualsAsync (string x, string y)
 - GetHashCodeAsync (string x)
 - CompareAsync (string x, string y)
 - TStringCurrentCultureIgnoreCase
 - Inst = default(TStringCurrentCultureIgnoreCase)
 - Append (string x, string y)
 - Empty ()
 - Equals (string x, string y)
 - Compare (string x, string y)
 - GetHashCode (string x)
 - EqualsAsync (string x, string y)
 - GetHashCodeAsync (string x)
 - CompareAsync (string x, string y)
 - TStringCurrentCulture
 
Sub modules
| Applicative | 
| ClassFunctions | 
| Const | 
| Eq | 
| EqAsync | 
| Foldable | 
| Functor | 
| Hashable | 
| HashableAsync | 
| Indexable | 
| Monad | 
| Monoid | 
| Ord | 
| OrdAsync | 
| Pred | 
| Semigroup | 
| Trans | 
Finds the default class instance for a type.  So for Eq<string> it finds EqString.  The
result is cached so there's only a one time hit per type to resolve.
Parameters
| type | A | 
class ClassInstancesAssembly Source #
Constructors
constructor ClassInstancesAssembly () Source #
Ctor
Methods
method Unit Initialise () Source #
Force the caching of class instances. If you run this at start-up then there's a much better chance the system will find all assemblies that have class instances in them. Not a requirement though.
Fields
field TArr<A> Inst = default(TArr<A>) Source #
Fields
field TArray<A> Inst = default(TArray<A>) Source #
Integer number
Fields
field TBigInt Inst = default(TBigInt) Source #
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 bigint Plus (bigint x, bigint y) Source #
Find the sum of two numbers
Parameters
| param | x | left hand side of the addition operation  | 
| param | y | right hand side of the addition operation  | 
| returns | The sum of x and y  | |
method bigint Subtract (bigint x, bigint y) Source #
Find the difference between two values
Parameters
| param | x | left hand side of the subtraction operation  | 
| param | y | right hand side of the subtraction operation  | 
| returns | The difference between x and y  | |
method bigint Product (bigint x, bigint y) Source #
Find the product of two numbers
Parameters
| param | x | left hand side of the product operation  | 
| param | y | right hand side of the product operation  | 
| returns | The product of x and y  | |
method bigint Divide (bigint x, bigint y) Source #
Divide two numbers
Parameters
| param | x | left hand side of the division operation  | 
| param | y | right hand side of the division operation  | 
| returns | x / y  | |
method bigint Abs (bigint x) Source #
Find the absolute value of a number
Parameters
| param | x | The value to find the absolute value of  | 
| returns | The non-negative absolute value of x  | |
method bigint Signum (bigint x) Source #
Find the sign of x
Parameters
| param | x | The value to find the sign of  | 
| returns | -1, 0, or +1  | |
method bigint FromInteger (int x) Source #
method bigint FromDecimal (decimal x) Source #
method bigint FromDouble (double x) Source #
method bigint Negate (bigint x) Source #
Negate the value
Parameters
| param | x | Value to negate  | 
| returns | The negated source value  | |
method bigint Append (bigint x, bigint y) Source #
Semigroup append (sum)
Parameters
| param | x | left hand side of the append operation  | 
| param | y | right hand side of the append operation  | 
| returns | x + y  | |
method int GetHashCode (bigint x) Source #
Get the hash-code of the provided value
Parameters
| returns | Hash code of x  | |
method bigint And (bigint a, bigint b) Source #
Returns the result of the bitwise AND operation between a and b
Parameters
| returns | The result of the bitwise AND operation between   | |
method bigint Or (bigint a, bigint b) Source #
Returns the result of the bitwise OR operation between a and b
Parameters
| returns | The result of the bitwise OR operation between   | |
method bigint Not (bigint a) Source #
Returns the result of the bitwise NOT operation on a
Parameters
| returns | The result of the bitwise NOT operation on   | |
method bigint XOr (bigint a, bigint b) Source #
Returns the result of the bitwise exclusive-OR operation between a and b
Parameters
| returns | The result of the bitwise exclusive-OR operation between   | |
method bigint Implies (bigint a, bigint b) Source #
Logical implication
Parameters
| returns | If   | |
method bigint BiCondition (bigint a, bigint b) Source #
Bitwise bi-conditional.
Parameters
| returns | 
  | |
method Task<bool> EqualsAsync (bigint x, bigint y) Source #
method Task<int> GetHashCodeAsync (bigint x) Source #
method Task<int> CompareAsync (bigint x, bigint y) Source #
Bool class instance. Implements
Eq<bool>
Ord<bool>
Bool<bool>
Fields
field TBool Inst = new TBool() Source #
Methods
method bool And (bool a, bool b) Source #
Returns the result of the logical AND operation between a and b
Parameters
| returns | The result of the logical AND operation between   | |
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 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 GetHashCode (bool x) Source #
Get the hash-code of the provided value
Parameters
| returns | Hash code of x  | |
method bool Not (bool a) Source #
Returns the result of the logical NOT operation on a
Parameters
| returns | The result of the logical NOT operation on   | |
method bool Or (bool a, bool b) Source #
Returns the result of the logical OR operation between a and b
Parameters
| returns | The result of the logical OR operation between   | |
method bool XOr (bool a, bool b) Source #
Returns the result of the logical exclusive-OR operation between a and b
Parameters
| returns | The result of the logical exclusive-OR operation between   | |
method bool Implies (bool a, bool b) Source #
Logical implication
Parameters
| returns | If   | |
method bool BiCondition (bool a, bool b) Source #
Logical bi-conditional.  Both a and b must be true, or both a and b must
be false.
Parameters
| returns | 
  | |
method Task<bool> EqualsAsync (bool x, bool y) Source #
method Task<int> GetHashCodeAsync (bool x) Source #
method Task<int> CompareAsync (bool x, bool y) Source #
TBoolBool class instance. Implements
Eq<(bool, bool)>
Ord<(bool, bool)>
Bool<(bool, bool)>
Fields
field TBool Inst = new TBool() Source #
Methods
method (bool, bool) And ((bool, bool) a, (bool, bool) b) Source #
Returns the result of the logical AND operation between a and b
Parameters
| returns | The result of the logical AND operation between   | |
method int Compare ((bool, bool) x, (bool, 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 bool Equals ((bool, bool) x, (bool, 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 GetHashCode ((bool, bool) x) Source #
Get the hash-code of the provided value
Parameters
| returns | Hash code of x  | |
method (bool, bool) Not ((bool, bool) a) Source #
Returns the result of the logical NOT operation on a
Parameters
| returns | The result of the logical NOT operation on   | |
method (bool, bool) Or ((bool, bool) a, (bool, bool) b) Source #
Returns the result of the logical OR operation between a and b
Parameters
| returns | The result of the logical OR operation between   | |
method (bool, bool) XOr ((bool, bool) a, (bool, bool) b) Source #
Returns the result of the logical exclusive-OR operation between a and b
Parameters
| returns | The result of the logical exclusive-OR operation between   | |
method (bool, bool) Implies ((bool, bool) a, (bool, bool) b) Source #
Logical implication
Parameters
| returns | If   | |
method (bool, bool) BiCondition ((bool, bool) a, (bool, bool) b) Source #
Logical bi-conditional.  Both a and b must be true, or both a and b must
be false.
Parameters
| returns | 
  | |
method Task<bool> EqualsAsync ((bool, bool) x, (bool, bool) y) Source #
method Task<int> GetHashCodeAsync ((bool, bool) x) Source #
method Task<int> CompareAsync ((bool, bool) x, (bool, bool) y) Source #
Integer number
Fields
field TChar Inst = default(TChar) Source #
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 char Append (char x, char y) Source #
Semigroup append (sum)
Parameters
| param | x | left hand side of the append operation  | 
| param | y | right hand side of the append operation  | 
| returns | x + y  | |
method int GetHashCode (char x) Source #
Get the hash-code of the provided value
Parameters
| returns | Hash code of x  | |
method Task<bool> EqualsAsync (char x, char y) Source #
method Task<int> GetHashCodeAsync (char x) Source #
method Task<int> CompareAsync (char x, char y) Source #
Fields
field TDecimal Inst = default(TDecimal) Source #
Methods
method bool Equals (decimal x, decimal y) Source #
Equality test
Parameters
| param | x | Left hand side of the equality operation  | 
| param | y | Right hand side of the equality operation  | 
| returns | True if parameters 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 decimal Plus (decimal x, decimal y) Source #
Find the sum of two values
Parameters
| param | x | left hand side of the addition operation  | 
| param | y | right hand side of the addition operation  | 
| returns | The sum of x and y  | |
method decimal Subtract (decimal x, decimal y) Source #
Find the difference between two values
Parameters
| param | x | left hand side of the subtraction operation  | 
| param | y | right hand side of the subtraction operation  | 
| returns | The difference between x and y  | |
method decimal Product (decimal x, decimal y) Source #
Find the product of two values
Parameters
| param | x | left hand side of the product operation  | 
| param | y | right hand side of the product operation  | 
| returns | The product of x and y  | |
method decimal Divide (decimal x, decimal y) Source #
Divide two numbers
Parameters
| param | x | left hand side of the division operation  | 
| param | y | right hand side of the division operation  | 
| returns | x / y  | |
method decimal Abs (decimal x) Source #
Find the absolute value of a number
Parameters
| param | x | The value to find the absolute value of  | 
| returns | The non-negative absolute value of x  | |
method decimal Signum (decimal x) Source #
Find the sign of x
Parameters
| param | x | The value to find the sign of  | 
| returns | -1, 0, or +1  | |
method decimal FromInteger (int x) Source #
method decimal FromDecimal (decimal x) Source #
method decimal FromDouble (double x) Source #
method decimal FromRational (Ratio<int> x) Source #
Generates a fractional value from an integer ratio.
Parameters
| param | x | The ratio to convert  | 
| returns | The equivalent of x in the implementing type.  | |
Returns an approximation of pi.
Parameters
| returns | A reasonable approximation of pi in this type  | |
method decimal Exp (decimal x) Source #
The exponential function.
Parameters
| param | x | The value for which we are calculating the exponential  | 
| returns | ||
method decimal Sqrt (decimal x) Source #
Calculates the square root of a value.
Parameters
| param | x | The value for which we are calculating the square root.  | 
| returns | .  | |
method decimal Log (decimal x) Source #
Calculates the natural logarithm of a value.
Parameters
| param | x | The value for which we are calculating the natural logarithm.  | 
| returns | .  | |
method decimal Pow (decimal x, decimal y) Source #
Raises x to the power y
Parameters
| param | x | The base to be raised to y  | 
| param | y | The exponent to which we are raising x  | 
| returns | .  | |
method decimal LogBase (decimal b, decimal x) Source #
Calculates the logarithm of a value with respect to an arbitrary base.
Parameters
| param | x | The base to use for the logarithm of t  | 
| param | y | The value for which we are calculating the logarithm.  | 
| returns | .  | |
method decimal Sin (decimal x) Source #
Calculates the sine of an angle.
Parameters
| param | x | An angle, in radians  | 
| returns | ||
method decimal Cos (decimal x) Source #
Calculates the cosine of an angle.
Parameters
| param | x | An angle, in radians  | 
| returns | ||
method decimal Tan (decimal x) Source #
Calculates the tangent of an angle.
Parameters
| param | x | An angle, in radians  | 
| returns | ||
method decimal Asin (decimal x) Source #
Calculates an arcsine.
Parameters
| param | x | The value for which an arcsine is to be calculated.  | 
| returns | , in radians.  | |
method decimal Acos (decimal x) Source #
Calculates an arc-cosine.
Parameters
| param | x | The value for which an arc-cosine is to be calculated  | 
| returns | , in radians  | |
method decimal Atan (decimal x) Source #
Calculates an arc-tangent.
Parameters
| param | x | The value for which an arc-tangent is to be calculated  | 
| returns | , in radians  | |
method decimal Sinh (decimal x) Source #
Calculates a hyperbolic sine.
Parameters
| param | x | The value for which a hyperbolic sine is to be calculated  | 
| returns | ||
method decimal Cosh (decimal x) Source #
Calculates a hyperbolic cosine.
Parameters
| param | x | The value for which a hyperbolic cosine is to be calculated  | 
| returns | ||
method decimal Tanh (decimal x) Source #
Calculates a hyperbolic tangent.
Parameters
| param | x | The value for which a hyperbolic tangent is to be calculated.  | 
| returns | ||
method decimal Asinh (decimal x) Source #
Calculates an area hyperbolic sine
Parameters
| param | x | The value for which an area hyperbolic sine is to be calculated.  | 
| returns | .  | |
method decimal Acosh (decimal x) Source #
Calculates an area hyperbolic cosine.
Parameters
| param | x | The value for which an area hyperbolic cosine is to be calculated.  | 
| returns | .  | |
method decimal Atanh (decimal x) Source #
Calculates an area hyperbolic tangent.
Parameters
| param | x | The value for which an area hyperbolic tangent is to be calculated.  | 
| returns | ||
method decimal Negate (decimal x) Source #
Negate the value
Parameters
| param | x | Value to negate  | 
| returns | The negated source value  | |
method decimal Append (decimal x, decimal y) Source #
Semigroup append (sum)
Parameters
| param | x | left hand side of the append operation  | 
| param | y | right hand side of the append operation  | 
| returns | x + y  | |
method int GetHashCode (decimal x) Source #
Get the hash-code of the provided value
Parameters
| returns | Hash code of x  | |
method Task<bool> EqualsAsync (decimal x, decimal y) Source #
method Task<int> GetHashCodeAsync (decimal x) Source #
method Task<int> CompareAsync (decimal x, decimal y) Source #
Fields
field TDouble Inst = default(TDouble) Source #
Methods
method bool Equals (double x, double y) Source #
Equality test
Parameters
| param | x | Left hand side of the equality operation  | 
| param | y | Right hand side of the equality operation  | 
| returns | True if parameters 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 double Plus (double x, double y) Source #
Find the sum of two values
Parameters
| param | x | left hand side of the addition operation  | 
| param | y | right hand side of the addition operation  | 
| returns | The sum of x and y  | |
method double Subtract (double x, double y) Source #
Find the difference between two values
Parameters
| param | x | left hand side of the subtraction operation  | 
| param | y | right hand side of the subtraction operation  | 
| returns | The difference between x and y  | |
method double Product (double x, double y) Source #
Find the product of two values
Parameters
| param | x | left hand side of the product operation  | 
| param | y | right hand side of the product operation  | 
| returns | The product of x and y  | |
method double Divide (double x, double y) Source #
Divide two numbers
Parameters
| param | x | left hand side of the division operation  | 
| param | y | right hand side of the division operation  | 
| returns | x / y  | |
method double Abs (double x) Source #
Find the absolute value of a number
Parameters
| param | x | The value to find the absolute value of  | 
| returns | The non-negative absolute value of x  | |
method double Signum (double x) Source #
Find the sign of x
Parameters
| param | x | The value to find the sign of  | 
| returns | -1, 0, or +1  | |
method double FromInteger (int x) Source #
method double FromDecimal (decimal x) Source #
method double FromDouble (double x) Source #
method double FromRational (Ratio<int> x) Source #
Generates a fractional value from an integer ratio.
Parameters
| param | x | The ratio to convert  | 
| returns | The equivalent of x in the implementing type.  | |
Returns an approximation of pi.
Parameters
| returns | A reasonable approximation of pi in this type  | |
method double Exp (double x) Source #
The exponential function.
Parameters
| param | x | The value for which we are calculating the exponential  | 
| returns | ||
method double Sqrt (double x) Source #
Calculates the square root of a value.
Parameters
| param | x | The value for which we are calculating the square root.  | 
| returns | .  | |
method double Log (double x) Source #
Calculates the natural logarithm of a value.
Parameters
| param | x | The value for which we are calculating the natural logarithm.  | 
| returns | .  | |
method double Pow (double x, double y) Source #
Raises x to the power y
Parameters
| param | x | The base to be raised to y  | 
| param | y | The exponent to which we are raising x  | 
| returns | .  | |
method double LogBase (double b, double x) Source #
Calculates the logarithm of a value with respect to an arbitrary base.
Parameters
| param | x | The base to use for the logarithm of t  | 
| param | y | The value for which we are calculating the logarithm.  | 
| returns | .  | |
method double Sin (double x) Source #
Calculates the sine of an angle.
Parameters
| param | x | An angle, in radians  | 
| returns | ||
method double Cos (double x) Source #
Calculates the cosine of an angle.
Parameters
| param | x | An angle, in radians  | 
| returns | ||
method double Tan (double x) Source #
Calculates the tangent of an angle.
Parameters
| param | x | An angle, in radians  | 
| returns | ||
method double Asin (double x) Source #
Calculates an arcsine.
Parameters
| param | x | The value for which an arcsine is to be calculated.  | 
| returns | , in radians.  | |
method double Acos (double x) Source #
Calculates an arc-cosine.
Parameters
| param | x | The value for which an arc-cosine is to be calculated  | 
| returns | , in radians  | |
method double Atan (double x) Source #
Calculates an arc-tangent.
Parameters
| param | x | The value for which an arc-tangent is to be calculated  | 
| returns | , in radians  | |
method double Sinh (double x) Source #
Calculates a hyperbolic sine.
Parameters
| param | x | The value for which a hyperbolic sine is to be calculated  | 
| returns | ||
method double Cosh (double x) Source #
Calculates a hyperbolic cosine.
Parameters
| param | x | The value for which a hyperbolic cosine is to be calculated  | 
| returns | ||
method double Tanh (double x) Source #
Calculates a hyperbolic tangent.
Parameters
| param | x | The value for which a hyperbolic tangent is to be calculated.  | 
| returns | ||
method double Asinh (double x) Source #
Calculates an area hyperbolic sine
Parameters
| param | x | The value for which an area hyperbolic sine is to be calculated.  | 
| returns | .  | |
method double Acosh (double x) Source #
Calculates an area hyperbolic cosine.
Parameters
| param | x | The value for which an area hyperbolic cosine is to be calculated.  | 
| returns | .  | |
method double Atanh (double x) Source #
Calculates an area hyperbolic tangent.
Parameters
| param | x | The value for which an area hyperbolic tangent is to be calculated.  | 
| returns | ||
method double Negate (double x) Source #
Negate the value
Parameters
| param | x | Value to negate  | 
| returns | The negated source value  | |
method double Append (double x, double y) Source #
Semigroup append (sum)
Parameters
| param | x | left hand side of the append operation  | 
| param | y | right hand side of the append operation  | 
| returns | x + y  | |
method int GetHashCode (double x) Source #
Get the hash-code of the provided value
Parameters
| returns | Hash code of x  | |
method Task<bool> EqualsAsync (double x, double y) Source #
method Task<int> GetHashCodeAsync (double x) Source #
method Task<int> CompareAsync (double x, double y) Source #
Fields
field TFloat Inst = default(TFloat) Source #
Methods
method bool Equals (float x, float y) Source #
Equality test
Parameters
| param | x | Left hand side of the equality operation  | 
| param | y | Right hand side of the equality operation  | 
| returns | True if parameters 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 float Plus (float x, float y) Source #
Find the sum of two values
Parameters
| param | x | left hand side of the addition operation  | 
| param | y | right hand side of the addition operation  | 
| returns | The sum of x and y  | |
method float Subtract (float x, float y) Source #
Find the difference between two values
Parameters
| param | x | left hand side of the subtraction operation  | 
| param | y | right hand side of the subtraction operation  | 
| returns | The difference between x and y  | |
method float Product (float x, float y) Source #
Find the product of two values
Parameters
| param | x | left hand side of the product operation  | 
| param | y | right hand side of the product operation  | 
| returns | The product of x and y  | |
method float Divide (float x, float y) Source #
Divide two numbers
Parameters
| param | x | left hand side of the division operation  | 
| param | y | right hand side of the division operation  | 
| returns | x / y  | |
method float Abs (float x) Source #
Find the absolute value of a number
Parameters
| param | x | The value to find the absolute value of  | 
| returns | The non-negative absolute value of x  | |
method float Signum (float x) Source #
Find the sign of x
Parameters
| param | x | The value to find the sign of  | 
| returns | -1, 0, or +1  | |
method float FromInteger (int x) Source #
method float FromDecimal (decimal x) Source #
method float FromDouble (double x) Source #
method float FromRational (Ratio<int> x) Source #
Generates a fractional value from an integer ratio.
Parameters
| param | x | The ratio to convert  | 
| returns | The equivalent of x in the implementing type.  | |
Returns an approximation of pi.
Parameters
| returns | A reasonable approximation of pi in this type  | |
method float Exp (float x) Source #
The exponential function.
Parameters
| param | x | The value for which we are calculating the exponential  | 
| returns | ||
method float Sqrt (float x) Source #
Calculates the square root of a value.
Parameters
| param | x | The value for which we are calculating the square root.  | 
| returns | .  | |
method float Log (float x) Source #
Calculates the natural logarithm of a value.
Parameters
| param | x | The value for which we are calculating the natural logarithm.  | 
| returns | .  | |
method float Pow (float x, float y) Source #
Raises x to the power y
Parameters
| param | x | The base to be raised to y  | 
| param | y | The exponent to which we are raising x  | 
| returns | .  | |
method float LogBase (float b, float x) Source #
Calculates the logarithm of a value with respect to an arbitrary base.
Parameters
| param | x | The base to use for the logarithm of t  | 
| param | y | The value for which we are calculating the logarithm.  | 
| returns | .  | |
method float Sin (float x) Source #
Calculates the sine of an angle.
Parameters
| param | x | An angle, in radians  | 
| returns | ||
method float Cos (float x) Source #
Calculates the cosine of an angle.
Parameters
| param | x | An angle, in radians  | 
| returns | ||
method float Tan (float x) Source #
Calculates the tangent of an angle.
Parameters
| param | x | An angle, in radians  | 
| returns | ||
method float Asin (float x) Source #
Calculates an arcsine.
Parameters
| param | x | The value for which an arcsine is to be calculated.  | 
| returns | , in radians.  | |
method float Acos (float x) Source #
Calculates an arc-cosine.
Parameters
| param | x | The value for which an arc-cosine is to be calculated  | 
| returns | , in radians  | |
method float Atan (float x) Source #
Calculates an arc-tangent.
Parameters
| param | x | The value for which an arc-tangent is to be calculated  | 
| returns | , in radians  | |
method float Sinh (float x) Source #
Calculates a hyperbolic sine.
Parameters
| param | x | The value for which a hyperbolic sine is to be calculated  | 
| returns | ||
method float Cosh (float x) Source #
Calculates a hyperbolic cosine.
Parameters
| param | x | The value for which a hyperbolic cosine is to be calculated  | 
| returns | ||
method float Tanh (float x) Source #
Calculates a hyperbolic tangent.
Parameters
| param | x | The value for which a hyperbolic tangent is to be calculated.  | 
| returns | ||
method float Asinh (float x) Source #
Calculates an area hyperbolic sine
Parameters
| param | x | The value for which an area hyperbolic sine is to be calculated.  | 
| returns | .  | |
method float Acosh (float x) Source #
Calculates an area hyperbolic cosine.
Parameters
| param | x | The value for which an area hyperbolic cosine is to be calculated.  | 
| returns | .  | |
method float Atanh (float x) Source #
Calculates an area hyperbolic tangent.
Parameters
| param | x | The value for which an area hyperbolic tangent is to be calculated.  | 
| returns | ||
method float Negate (float x) Source #
Negate the value
Parameters
| param | x | Value to negate  | 
| returns | The negated source value  | |
method float Append (float x, float y) Source #
Semigroup append (sum)
Parameters
| param | x | left hand side of the append operation  | 
| param | y | right hand side of the append operation  | 
| returns | x + y  | |
method int GetHashCode (float x) Source #
Get the hash-code of the provided value
Parameters
| returns | Hash code of x  | |
method Task<bool> EqualsAsync (float x, float y) Source #
method Task<int> GetHashCodeAsync (float x) Source #
method Task<int> CompareAsync (float x, float y) Source #
Integer number
Fields
field TInt Inst = default(TInt) Source #
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 Plus (int x, int y) Source #
Find the sum of two numbers
Parameters
| param | x | left hand side of the addition operation  | 
| param | y | right hand side of the addition operation  | 
| returns | The sum of x and y  | |
method int Subtract (int x, int y) Source #
Find the difference between two values
Parameters
| param | x | left hand side of the subtraction operation  | 
| param | y | right hand side of the subtraction operation  | 
| returns | The difference between x and y  | |
method int Product (int x, int y) Source #
Find the product of two numbers
Parameters
| param | x | left hand side of the product operation  | 
| param | y | right hand side of the product operation  | 
| returns | The product of x and y  | |
method int Divide (int x, int y) Source #
Divide two numbers
Parameters
| param | x | left hand side of the division operation  | 
| param | y | right hand side of the division operation  | 
| returns | x / y  | |
method int Abs (int x) Source #
Find the absolute value of a number
Parameters
| param | x | The value to find the absolute value of  | 
| returns | The non-negative absolute value of x  | |
method int Signum (int x) Source #
Find the sign of x
Parameters
| param | x | The value to find the sign of  | 
| returns | -1, 0, or +1  | |
method int FromInteger (int x) Source #
method int FromDecimal (decimal x) Source #
method int FromDouble (double x) Source #
method int Negate (int x) Source #
Negate the value
Parameters
| param | x | Value to negate  | 
| returns | The negated source value  | |
method int Append (int x, int y) Source #
Semigroup append (sum)
Parameters
| param | x | left hand side of the append operation  | 
| param | y | right hand side of the append operation  | 
| returns | x + y  | |
method int GetHashCode (int x) Source #
Get the hash-code of the provided value
Parameters
| returns | Hash code of x  | |
method int And (int a, int b) Source #
Returns the result of the bitwise AND operation between a and b
Parameters
| returns | The result of the bitwise AND operation between   | |
method int Or (int a, int b) Source #
Returns the result of the bitwise OR operation between a and b
Parameters
| returns | The result of the bitwise OR operation between   | |
method int Not (int a) Source #
Returns the result of the bitwise NOT operation on a
Parameters
| returns | The result of the bitwise NOT operation on   | |
method int XOr (int a, int b) Source #
Returns the result of the bitwise exclusive-OR operation between a and b
Parameters
| returns | The result of the bitwise exclusive-OR operation between   | |
method int Implies (int a, int b) Source #
Logical implication
Parameters
| returns | If   | |
method int BiCondition (int a, int b) Source #
Bitwise bi-conditional.
Parameters
| returns | 
  | |
method Task<bool> EqualsAsync (int x, int y) Source #
method Task<int> GetHashCodeAsync (int x) Source #
method Task<int> CompareAsync (int x, int y) Source #
Long integer number
Fields
field TLong Inst = default(TLong) Source #
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 long Plus (long x, long y) Source #
Find the sum of two numbers
Parameters
| param | x | left hand side of the addition operation  | 
| param | y | right hand side of the addition operation  | 
| returns | The sum of x and y  | |
method long Subtract (long x, long y) Source #
Find the difference between two values
Parameters
| param | x | left hand side of the subtraction operation  | 
| param | y | right hand side of the subtraction operation  | 
| returns | The difference between x and y  | |
method long Product (long x, long y) Source #
Fund the product of two numbers
Parameters
| param | x | left hand side of the product operation  | 
| param | y | right hand side of the product operation  | 
| returns | The product of x and y  | |
method long Divide (long x, long y) Source #
Divide x by y
Parameters
| param | x | left hand side of the division operation  | 
| param | y | right hand side of the division operation  | 
| returns | x / y  | |
method long Abs (long x) Source #
Find the absolute value of a number
Parameters
| param | x | The value to find the absolute value of  | 
| returns | The non-negative absolute value of x  | |
method long Signum (long x) Source #
Find the sign of x
Parameters
| param | x | The value to find the sign of  | 
| returns | -1, 0, or +1  | |
method long FromInteger (int x) Source #
method long FromDecimal (decimal x) Source #
method long FromDouble (double x) Source #
method long Append (long x, long y) Source #
Semigroup append (sum)
Parameters
| param | x | left hand side of the append operation  | 
| param | y | right hand side of the append operation  | 
| returns | x + y  | |
method long Negate (long x) Source #
Negate the value
Parameters
| param | x | Value to negate  | 
| returns | The negated source value  | |
method int GetHashCode (long x) Source #
Get the hash-code of the provided value
Parameters
| returns | Hash code of x  | |
method long And (long a, long b) Source #
Returns the result of the bitwise AND operation between a and b
Parameters
| returns | The result of the bitwise AND operation between   | |
method long Or (long a, long b) Source #
Returns the result of the bitwise OR operation between a and b
Parameters
| returns | The result of the bitwise OR operation between   | |
method long Not (long a) Source #
Returns the result of the bitwise NOT operation on a
Parameters
| returns | The result of the bitwise NOT operation on   | |
method long XOr (long a, long b) Source #
Returns the result of the bitwise exclusive-OR operation between a and b
Parameters
| returns | The result of the bitwise exclusive-OR operation between   | |
method long Implies (long a, long b) Source #
Logical implication
Parameters
| returns | If   | |
method long BiCondition (long a, long b) Source #
Bitwise bi-conditional.
Parameters
| returns | 
  | |
method Task<bool> EqualsAsync (long x, long y) Source #
method Task<int> GetHashCodeAsync (long x) Source #
method Task<int> CompareAsync (long x, long y) Source #
Fields
field TLst<A> Inst = default(TLst<A>) Source #
struct TNumericChar Source #
Integer number
Fields
field TNumericChar Inst = default(TNumericChar) Source #
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 char Append (char x, char y) Source #
Semigroup append (sum)
Parameters
| param | x | left hand side of the append operation  | 
| param | y | right hand side of the append operation  | 
| returns | x + y  | |
method int GetHashCode (char x) Source #
Get the hash-code of the provided value
Parameters
| returns | Hash code of x  | |
method Task<bool> EqualsAsync (char x, char y) Source #
method Task<int> GetHashCodeAsync (char x) Source #
method Task<int> CompareAsync (char x, char y) Source #
Short integer number
Fields
field TShort Inst = default(TShort) Source #
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 short Plus (short x, short y) Source #
Find the sum of two numbers
Parameters
| param | x | left hand side of the addition operation  | 
| param | y | right hand side of the addition operation  | 
| returns | The sum of x and y  | |
method short Subtract (short x, short y) Source #
Find the difference between two values
Parameters
| param | x | left hand side of the subtraction operation  | 
| param | y | right hand side of the subtraction operation  | 
| returns | The difference between x and y  | |
method short Product (short x, short y) Source #
Fund the product of two numbers
Parameters
| param | x | left hand side of the product operation  | 
| param | y | right hand side of the product operation  | 
| returns | The product of x and y  | |
method short Divide (short x, short y) Source #
Divide x by y
Parameters
| param | x | left hand side of the division operation  | 
| param | y | right hand side of the division operation  | 
| returns | x / y  | |
method short Abs (short x) Source #
Find the absolute value of a number
Parameters
| param | x | The value to find the absolute value of  | 
| returns | The non-negative absolute value of x  | |
method short Signum (short x) Source #
Find the sign of x
Parameters
| param | x | The value to find the sign of  | 
| returns | -1, 0, or +1  | |
method short FromInteger (int x) Source #
method short FromDecimal (decimal x) Source #
method short FromDouble (double x) Source #
method short Negate (short x) Source #
Negate the value
Parameters
| param | x | Value to negate  | 
| returns | The negated source value  | |
method short Append (short x, short y) Source #
Semigroup append (sum)
Parameters
| param | x | left hand side of the append operation  | 
| param | y | right hand side of the append operation  | 
| returns | x + y  | |
method int GetHashCode (short x) Source #
Get the hash-code of the provided value
Parameters
| returns | Hash code of x  | |
method short And (short a, short b) Source #
Returns the result of the bitwise AND operation between a and b
Parameters
| returns | The result of the bitwise AND operation between   | |
method short Or (short a, short b) Source #
Returns the result of the bitwise OR operation between a and b
Parameters
| returns | The result of the bitwise OR operation between   | |
method short Not (short a) Source #
Returns the result of the bitwise NOT operation on a
Parameters
| returns | The result of the bitwise NOT operation on   | |
method short XOr (short a, short b) Source #
Returns the result of the bitwise exclusive-OR operation between a and b
Parameters
| returns | The result of the bitwise exclusive-OR operation between   | |
method short Implies (short a, short b) Source #
Logical implication
Parameters
| returns | If   | |
method short BiCondition (short a, short b) Source #
Bitwise bi-conditional.
Parameters
| returns | 
  | |
method Task<bool> EqualsAsync (short x, short y) Source #
method Task<int> GetHashCodeAsync (short x) Source #
method Task<int> CompareAsync (short x, short y) Source #
Fields
field TString Inst = default(TString) Source #
Methods
method bool Equals (string x, string 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 (string x, string 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 (string x) Source #
Get the hash-code of the provided value
Parameters
| returns | Hash code of x  | |
method Task<bool> EqualsAsync (string x, string y) Source #
method Task<int> GetHashCodeAsync (string x) Source #
method Task<int> CompareAsync (string x, string y) Source #
struct TStringOrdinalIgnoreCase Source #
Fields
field TStringOrdinalIgnoreCase Inst = default(TStringOrdinalIgnoreCase) Source #
Methods
method bool Equals (string x, string 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 (string x, string 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 (string x) Source #
Get the hash-code of the provided value
Parameters
| returns | Hash code of x  | |
method Task<bool> EqualsAsync (string x, string y) Source #
method Task<int> GetHashCodeAsync (string x) Source #
method Task<int> CompareAsync (string x, string y) Source #
struct TStringOrdinal Source #
Fields
field TStringOrdinal Inst = default(TStringOrdinal) Source #
Methods
method bool Equals (string x, string 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 (string x, string 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 (string x) Source #
Get the hash-code of the provided value
Parameters
| returns | Hash code of x  | |
method Task<bool> EqualsAsync (string x, string y) Source #
method Task<int> GetHashCodeAsync (string x) Source #
method Task<int> CompareAsync (string x, string y) Source #
struct TStringCurrentCultureIgnoreCase Source #
Fields
field TStringCurrentCultureIgnoreCase Inst = default(TStringCurrentCultureIgnoreCase) Source #
Methods
method bool Equals (string x, string 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 (string x, string 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 (string x) Source #
Get the hash-code of the provided value
Parameters
| returns | Hash code of x  | |
method Task<bool> EqualsAsync (string x, string y) Source #
method Task<int> GetHashCodeAsync (string x) Source #
method Task<int> CompareAsync (string x, string y) Source #
struct TStringCurrentCulture Source #
Fields
field TStringCurrentCulture Inst = default(TStringCurrentCulture) Source #
Methods
method bool Equals (string x, string 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 (string x, string 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 (string x) Source #
Get the hash-code of the provided value
Parameters
| returns | Hash code of x  | |
method Task<bool> EqualsAsync (string x, string y) Source #
method Task<int> GetHashCodeAsync (string x) Source #
method Task<int> CompareAsync (string x, string y) Source #