interface · System

IComparable<TSelf>

public interface System.IComparable<TSelf>

Values with an order: -1, 0 or 1 as this value is smaller than, equal to or larger than other.

Tipo
interface
Espacio de nombres
System
Ensamblado
System.Core
Acceso
public
Archivo fuente
Any.ant

Parámetros de tipo

NombreRestricciones
TSelfcualquier tipo

Herencia

Implementado por
DateTime Float128 Float16 Float256 Float32 Float64 Int128 Int16 Int256 Int32 Int64 Int8 String<T> TimeSpan UInt128 UInt16 UInt256 UInt32 UInt64 UInt8

Miembros privados e internos (1)

method CompareTo(other: TSelf) -> i32
#

private abstract

Código fuente

IComparable<TSelf> en Larva HIR, descompilado a partir de su Larva HIR.

System.IComparable.hir
// Values with an order: -1, 0 or 1 as this value is smaller than, equal to or larger than `other`.
public interface System.IComparable<TSelf>
{
    method CompareTo(other: TSelf) -> i32
}
Esc