IStructuralComparable
E697495
IStructuralComparable is a .NET interface that enables objects to be compared based on the structure and values of their components rather than just their references.
Statements (50)
| Predicate | Object |
|---|---|
| instanceOf |
.NET interface
ⓘ
interface ⓘ |
| comparisonDirection | total ordering when implemented correctly ⓘ |
| comparisonResult |
negative if instance precedes other
ⓘ
positive if instance follows other ⓘ zero if instances are equal ⓘ |
| comparisonType | structural comparison ⓘ |
| comparisonUses | IComparer implementation ⓘ |
| definedInAssembly | mscorlib NERFINISHED ⓘ |
| definedInNamespace | System.Collections NERFINISHED ⓘ |
| differentFrom | reference-based comparison ⓘ |
| documentationUrl | https://learn.microsoft.com/dotnet/api/system.collections.istructuralcomparable ⓘ |
| hasMethod | CompareTo(Object, IComparer) ⓘ |
| implementedBy |
Tuple`1
ⓘ
Tuple`2 ⓘ Tuple`3 ⓘ Tuple`4 ⓘ Tuple`5 ⓘ Tuple`6 ⓘ Tuple`7 ⓘ Tuple`8 ⓘ ValueTuple`1 NERFINISHED ⓘ ValueTuple`2 NERFINISHED ⓘ ValueTuple`3 NERFINISHED ⓘ ValueTuple`4 NERFINISHED ⓘ ValueTuple`5 NERFINISHED ⓘ ValueTuple`6 NERFINISHED ⓘ ValueTuple`7 NERFINISHED ⓘ ValueTuple`8 NERFINISHED ⓘ |
| introducedInVersion | .NET Framework 4.0 NERFINISHED ⓘ |
| languageSupport |
C#
ⓘ
F# NERFINISHED ⓘ VB.NET NERFINISHED ⓘ |
| methodParameter |
IComparer
NERFINISHED
ⓘ
Object ⓘ |
| methodReturnType | Int32 ⓘ |
| partOf |
.NET
NERFINISHED
ⓘ
.NET Core NERFINISHED ⓘ .NET Framework NERFINISHED ⓘ |
| platform | .NET Standard NERFINISHED ⓘ |
| purpose | enable structural comparison of objects ⓘ |
| relatedTo | IStructuralEquatable NERFINISHED ⓘ |
| requires | implementation of CompareTo method ⓘ |
| supports | comparison based on structure and values of components ⓘ |
| usedBy |
System.Array
NERFINISHED
ⓘ
System.Tuple NERFINISHED ⓘ System.ValueTuple NERFINISHED ⓘ |
| usedFor |
custom structural comparison logic
ⓘ
ordering of composite objects ⓘ sorting collections by structural value ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.