AlgorithmsGetIdentityComparerT Method |
Gets an IEqualityComparer<T> instance that can be used to compare objects
of type T for object identity only. Two objects compare equal only if they
are references to the same object.
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic static IEqualityComparer<T> GetIdentityComparer<T>()
where T : class
public:
generic<typename T>
where T : ref class
static IEqualityComparer<T>^ GetIdentityComparer()
Type Parameters
- T
[Missing <typeparam name="T"/> documentation for "M:X3Platform.Collections.Algorithms.GetIdentityComparer``1"]
Return Value
Type:
IEqualityComparerTAn IEqualityComparer<T> instance for identity comparison.
See Also