Show / Hide Table of Contents

Struct Statics.Inequality<T>

Used for inequality syntax.

Namespace: Towel
Assembly: Towel.dll
Syntax
public struct Inequality<T>
Type Parameters
Name Description
T

The generic type of elements the inequality is being used on.

Methods

| Improve this Doc View Source

Equals(Nullable<Object>)

This member is not intended to be invoked.

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
System.Nullable<System.Object> obj
Returns
Type Description
System.Boolean
| Improve this Doc View Source

GetHashCode()

This member is not intended to be invoked.

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32
| Improve this Doc View Source

ToString()

This member is not intended to be invoked.

Declaration
public override string ToString()
Returns
Type Description
System.String

Operators

| Improve this Doc View Source

Equality(Statics.Inequality<T>, T)

Adds an equal operation to a running inequality.

Declaration
public static Statics.OperatorValidated.Inequality<T> operator ==(Statics.Inequality<T> a, T b)
Parameters
Type Name Description
Statics.Inequality<T> a

The current running inequality and left hand operand.

T b

The value of the right hand operand of the equal operation.

Returns
Type Description
Statics.OperatorValidated.Inequality<T>

A running inequality with the additonal equal operation.

| Improve this Doc View Source

GreaterThan(Statics.Inequality<T>, T)

Adds a greater than operation to a running inequality.

Declaration
public static Statics.OperatorValidated.Inequality<T> operator>(Statics.Inequality<T> a, T b)
Parameters
Type Name Description
Statics.Inequality<T> a

The current running inequality and left hand operand.

T b

The value of the right hand operand of the greater than operation.

Returns
Type Description
Statics.OperatorValidated.Inequality<T>

A running inequality with the additonal greater than operation.

| Improve this Doc View Source

GreaterThanOrEqual(Statics.Inequality<T>, T)

Adds a greater than or equal operation to a running inequality.

Declaration
public static Statics.OperatorValidated.Inequality<T> operator >=(Statics.Inequality<T> a, T b)
Parameters
Type Name Description
Statics.Inequality<T> a

The current running inequality and left hand operand.

T b

The value of the right hand operand of the greater than or equal operation.

Returns
Type Description
Statics.OperatorValidated.Inequality<T>

A running inequality with the additonal greater than or equal operation.

| Improve this Doc View Source

Implicit(T to Statics.Inequality<T>)

Contructs a new Statics.Inequality<T>.

Declaration
public static implicit operator Statics.Inequality<T>(T a)
Parameters
Type Name Description
T a

The initial value of the running inequality.

Returns
Type Description
Statics.Inequality<T>
| Improve this Doc View Source

Inequality(Statics.Inequality<T>, T)

Adds an inequal operation to a running inequality.

Declaration
public static Statics.OperatorValidated.Inequality<T> operator !=(Statics.Inequality<T> a, T b)
Parameters
Type Name Description
Statics.Inequality<T> a

The current running inequality and left hand operand.

T b

The value of the right hand operand of the inequal operation.

Returns
Type Description
Statics.OperatorValidated.Inequality<T>

A running inequality with the additonal inequal operation.

| Improve this Doc View Source

LessThan(Statics.Inequality<T>, T)

Adds a less than operation to a running inequality.

Declaration
public static Statics.OperatorValidated.Inequality<T> operator <(Statics.Inequality<T> a, T b)
Parameters
Type Name Description
Statics.Inequality<T> a

The current running inequality and left hand operand.

T b

The value of the right hand operand of the less than operation.

Returns
Type Description
Statics.OperatorValidated.Inequality<T>

A running inequality with the additonal less than operation.

| Improve this Doc View Source

LessThanOrEqual(Statics.Inequality<T>, T)

Adds a less than or equal operation to a running inequality.

Declaration
public static Statics.OperatorValidated.Inequality<T> operator <=(Statics.Inequality<T> a, T b)
Parameters
Type Name Description
Statics.Inequality<T> a

The current running inequality and left hand operand.

T b

The value of the right hand operand of the less than or equal operation.

Returns
Type Description
Statics.OperatorValidated.Inequality<T>

A running inequality with the additonal less than or equal operation.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX