Show / Hide Table of Contents

Struct Statics.OperatorValidated.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()

Converts the result of this inequality to a .

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

Operators

| Improve this Doc View Source

Equality(Statics.OperatorValidated.Inequality<T>, T)

Adds an equal operation to a running inequality.

Declaration
public static Statics.OperatorValidated.Inequality<T> operator ==(Statics.OperatorValidated.Inequality<T> a, T b)
Parameters
Type Name Description
Statics.OperatorValidated.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.OperatorValidated.Inequality<T>, T)

Adds a greater than operation to a running inequality.

Declaration
public static Statics.OperatorValidated.Inequality<T> operator>(Statics.OperatorValidated.Inequality<T> a, T b)
Parameters
Type Name Description
Statics.OperatorValidated.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.OperatorValidated.Inequality<T>, T)

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

Declaration
public static Statics.OperatorValidated.Inequality<T> operator >=(Statics.OperatorValidated.Inequality<T> a, T b)
Parameters
Type Name Description
Statics.OperatorValidated.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(Statics.OperatorValidated.Inequality<T> to Boolean)

Converts this running inequality into the result of the expression.

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

The inequality to convert into the result of the expression.

Returns
Type Description
System.Boolean
| Improve this Doc View Source

Inequality(Statics.OperatorValidated.Inequality<T>, T)

Adds an inequal operation to a running inequality.

Declaration
public static Statics.OperatorValidated.Inequality<T> operator !=(Statics.OperatorValidated.Inequality<T> a, T b)
Parameters
Type Name Description
Statics.OperatorValidated.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.OperatorValidated.Inequality<T>, T)

Adds a less than operation to a running inequality.

Declaration
public static Statics.OperatorValidated.Inequality<T> operator <(Statics.OperatorValidated.Inequality<T> a, T b)
Parameters
Type Name Description
Statics.OperatorValidated.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.OperatorValidated.Inequality<T>, T)

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

Declaration
public static Statics.OperatorValidated.Inequality<T> operator <=(Statics.OperatorValidated.Inequality<T> a, T b)
Parameters
Type Name Description
Statics.OperatorValidated.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