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
Namespace: Mediachase.Commerce.Catalog
Assembly: Mediachase.Commerce.dll
Version: 14.26.0Syntax
public class CatalogKey : Object, 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 |
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
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 |
Implements
System.IEquatable<>
System.IComparable<>
System.IComparable
System.Runtime.Serialization.ISerializable