Class PropertySettingsWrapper.WrapperComparer
Used to compare two PropertySettingsWrapper objects.
Inheritance
System.Object
PropertySettingsWrapper.WrapperComparer
Implements
System.Collections.Generic.IEqualityComparer<PropertySettingsWrapper>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Core.PropertySettings
Assembly: EPiServer.dll
Version: 9.12.2Syntax
public class WrapperComparer : IEqualityComparer<PropertySettingsWrapper>
Constructors
WrapperComparer()
Declaration
public WrapperComparer()
Methods
Equals(PropertySettingsWrapper, PropertySettingsWrapper)
Determines whether the specified objects are equal.
Declaration
public bool Equals(PropertySettingsWrapper x, PropertySettingsWrapper y)
Parameters
Type | Name | Description |
---|---|---|
PropertySettingsWrapper | x | The first object to compare. |
PropertySettingsWrapper | y | The second object to compare. |
Returns
Type | Description |
---|---|
System.Boolean | true if the specified objects are equal; otherwise, false. |
GetHashCode(PropertySettingsWrapper)
Returns a hash code for the specified object.
Declaration
public int GetHashCode(PropertySettingsWrapper obj)
Parameters
Type | Name | Description |
---|---|---|
PropertySettingsWrapper | obj | The System.Object for which a hash code is to be returned. |
Returns
Type | Description |
---|---|
System.Int32 | A hash code for the specified object. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The type of |
Implements
System.Collections.Generic.IEqualityComparer<T>