interface · System
IComparable<TSelf>
public interface 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
| Nombre | Restricciones |
|---|---|
TSelf | cualquier tipo |
Herencia
- Implementado por
-
DateTimeFloat128Float16Float256Float32Float64Int128Int16Int256Int32Int64Int8String<T>TimeSpanUInt128UInt16UInt256UInt32UInt64UInt8
Código fuente
IComparable<TSelf> en Antril, descompilado a partir de su Larva HIR.
// System.IComparable — System.Core (decompiled from Larva HIR)
into namespace System
{
/// Values with an order: -1, 0 or 1 as this value is smaller than, equal to or larger than `other`.
public interface IComparable<TSelf>
{
CompareTo(TSelf other) : i32;
}
}