Class MemberUtils.PropertyComparer
Implements
Inherited Members
Namespace: Xareus.Utils
Assembly: Xareus.Utils.dll
Syntax
public class MemberUtils.PropertyComparer : IEqualityComparer<PropertyInfo>
Methods
Equals(PropertyInfo, PropertyInfo)
Determines whether the specified objects are equal.
Declaration
public bool Equals(PropertyInfo x, PropertyInfo y)
Parameters
Type | Name | Description |
---|---|---|
PropertyInfo | x | The first object of type |
PropertyInfo | y | The second object of type |
Returns
Type | Description |
---|---|
bool |
GetHashCode(PropertyInfo)
Returns a hash code for the specified object.
Declaration
public int GetHashCode(PropertyInfo obj)
Parameters
Type | Name | Description |
---|---|---|
PropertyInfo | obj | The object for which a hash code is to be returned. |
Returns
Type | Description |
---|---|
int | A hash code for the specified object. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | The type of |