Class PropertySettingsWrapper.WrapperComparer

Used to compare two PropertySettingsWrapper objects.

Inheritance
System.Object
PropertySettingsWrapper.WrapperComparer
Implements
System.Collections.Generic.IEqualityComparer<PropertySettingsWrapper>
Namespace: EPiServer.Core.PropertySettings
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public class WrapperComparer : Object, 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 obj is a reference type and obj is null.

Implements

System.Collections.Generic.IEqualityComparer<>

Extension Methods