Try our conversational search powered by Generative AI!

Class CatalogKey

Encapsulates data describing a unique key to a catalog entry.

Inheritance
System.Object
CatalogKey
Implements
System.IEquatable<CatalogKey>
System.IComparable<CatalogKey>
System.IComparable
System.Runtime.Serialization.ISerializable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.Catalog
Assembly: Mediachase.Commerce.dll
Version: 13.30.0
Syntax
public class CatalogKey : IEquatable<CatalogKey>, IComparable<CatalogKey>, IComparable, ISerializable

Constructors

CatalogKey(CatalogEntryDto.CatalogEntryRow)

Declaration
public CatalogKey(CatalogEntryDto.CatalogEntryRow catalogEntryRow)
Parameters
Type Name Description
CatalogEntryDto.CatalogEntryRow catalogEntryRow

CatalogKey(SerializationInfo, StreamingContext)

Initializes a new instance of the CatalogKey class.

Declaration
protected CatalogKey(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
System.Runtime.Serialization.SerializationInfo info

The information.

System.Runtime.Serialization.StreamingContext context

The context.

CatalogKey(String)

Declaration
public CatalogKey(string catalogEntryCode)
Parameters
Type Name Description
System.String catalogEntryCode

Properties

CatalogEntryCode

Gets the code of the catalog entry.

Declaration
public string CatalogEntryCode { get; }
Property Value
Type Description
System.String

The catalog entry code.

Methods

CompareTo(CatalogKey)

Declaration
public int CompareTo(CatalogKey other)
Parameters
Type Name Description
CatalogKey other
Returns
Type Description
System.Int32

Equals(CatalogKey)

Declaration
public bool Equals(CatalogKey other)
Parameters
Type Name Description
CatalogKey other
Returns
Type Description
System.Boolean

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.Boolean
Overrides
System.Object.Equals(System.Object)

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32
Overrides
System.Object.GetHashCode()

GetObjectData(SerializationInfo, StreamingContext)

Declaration
public void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
System.Runtime.Serialization.SerializationInfo info
System.Runtime.Serialization.StreamingContext context

Explicit Interface Implementations

IComparable.CompareTo(Object)

Declaration
int IComparable.CompareTo(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.Int32

Implements

System.IEquatable<T>
System.IComparable<T>
System.IComparable
System.Runtime.Serialization.ISerializable