Class CmsValueComparer
Compare CmsValues.
Inherited Members
Namespace: Noxum.Nova.Cms.Client
Assembly: Noxum.Nova.Cms.Client.dll
Syntax
public abstract class CmsValueComparer : IEqualityComparer<CmsValue>, IComparer<CmsValue>
Fields
Key
Compare CmsValues by Key only.
Declaration
public static readonly CmsValueComparer Key
Field Value
| Type | Description |
|---|---|
| CmsValueComparer |
Methods
Compare(CmsValue, CmsValue)
Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
Declaration
public abstract int Compare(CmsValue x, CmsValue y)
Parameters
| Type | Name | Description |
|---|---|---|
| CmsValue | x | The first object to compare. |
| CmsValue | y | The second object to compare. |
Returns
| Type | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| int | A signed integer that indicates the relative values of
|
Equals(CmsValue, CmsValue)
Determines whether the specified objects are equal.
Declaration
public abstract bool Equals(CmsValue x, CmsValue y)
Parameters
| Type | Name | Description |
|---|---|---|
| CmsValue | x | The first object of type |
| CmsValue | y | The second object of type |
Returns
| Type | Description |
|---|---|
| bool |
GetHashCode(CmsValue)
Returns a hash code for the specified object.
Declaration
public abstract int GetHashCode(CmsValue obj)
Parameters
| Type | Name | Description |
|---|---|---|
| CmsValue | 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 |