Class MemberUtils.MemberComparer
Inheritance
MemberUtils.MemberComparer
Assembly: Xareus.Utils.dll
Syntax
public class MemberUtils.MemberComparer : IEqualityComparer<MemberInfo>
Methods
CheckEquals(MemberInfo, MemberInfo)
Declaration
public static bool CheckEquals(MemberInfo x, MemberInfo y)
Parameters
Returns
Equals(MemberInfo, MemberInfo)
Determines whether the specified objects are equal.
Declaration
public bool Equals(MemberInfo x, MemberInfo y)
Parameters
Type |
Name |
Description |
MemberInfo |
x |
The first object of type T to compare.
|
MemberInfo |
y |
The second object of type T to compare.
|
Returns
Type |
Description |
bool |
true if the specified objects are equal; otherwise, false.
|
GetHashCode(MemberInfo)
Returns a hash code for the specified object.
Declaration
public int GetHashCode(MemberInfo obj)
Parameters
Type |
Name |
Description |
MemberInfo |
obj |
The object for which a hash code is to be returned.
|
Returns
Type |
Description |
int |
A hash code for the specified object.
|
Exceptions
GetMemberHashCode(MemberInfo)
Declaration
public static int GetMemberHashCode(MemberInfo obj)
Parameters
Returns
Implements