November Happy Hour will be moved to Thursday December 5th.

Struct MarketId

Implements
System.IEquatable<MarketId>
System.IComparable<MarketId>
System.IComparable
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: Mediachase.Commerce
Assembly: Mediachase.Commerce.dll
Version: 12.17.2
Syntax
public struct MarketId : IEquatable<MarketId>, IComparable<MarketId>, IComparable

Constructors

MarketId(String)

Declaration
public MarketId(string marketId)
Parameters
Type Name Description
System.String marketId

Fields

Default

Declaration
public static readonly MarketId Default
Field Value
Type Description
MarketId

Empty

Declaration
public static readonly MarketId Empty
Field Value
Type Description
MarketId

Properties

Value

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

Methods

CompareTo(MarketId)

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

Equals(MarketId)

Declaration
public bool Equals(MarketId other)
Parameters
Type Name Description
MarketId 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.ValueType.Equals(System.Object)

GetHashCode()

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

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
System.ValueType.ToString()

Operators

Equality(MarketId, MarketId)

Declaration
public static bool operator ==(MarketId left, MarketId right)
Parameters
Type Name Description
MarketId left
MarketId right
Returns
Type Description
System.Boolean

Implicit(String to MarketId)

Declaration
public static implicit operator MarketId(string value)
Parameters
Type Name Description
System.String value
Returns
Type Description
MarketId

Inequality(MarketId, MarketId)

Declaration
public static bool operator !=(MarketId left, MarketId right)
Parameters
Type Name Description
MarketId left
MarketId right
Returns
Type Description
System.Boolean

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