Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.

 

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: 7.19.2
Syntax
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 obj is a reference type and obj is null.

Implements

System.Collections.Generic.IEqualityComparer<T>

Extension Methods