S IEquatable<T> Default | Access: Read-Only
Value:
A default generic equatable for type T. The procedure is as follows:
- If T is int, double, byte or char,
the equatable will be a standard equatable for that type
- If the actual generic argument T implements the generic interface
ISequenced<T> for some value W of its generic parameter T,
the equatable will be SequencedCollectionEquatable<T,W>
- If the actual generic argument T implements
ICollectionValue<T> for some value W of its generic parameter T,
the equatable will be UnsequencedCollectionEquatable<T,W>
- If T is a type implementing IEquality<KeyValuePair<K,V>>, the equatable
will be EqualityEquatable<T>
- If T is a type not implementing IEquality<KeyValuePair<K,V>>, the equatable
will be NaturalEquatable<T>
The IEquatable<T> object is constructed when this class is initialised, i.e.
its static constructors called. Thus, the property will be the same object
for the duration of an invocation of the runtime, but a value serialized in
another invocation and deserialized here will not be the same object.
|