Struct MarketId
Implements
System.IComparable
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Assembly: Mediachase.Commerce.dll
Version: 13.30.0
public struct MarketId : IEquatable<MarketId>, IComparable<MarketId>, IComparable
Constructors
Declaration
public MarketId(string marketId)
Parameters
Type |
Name |
Description |
System.String |
marketId |
|
Fields
Declaration
public static readonly MarketId Default
Field Value
Declaration
public static readonly MarketId Empty
Field Value
Properties
Declaration
public string Value { get; }
Property Value
Type |
Description |
System.String |
|
Methods
Declaration
public int CompareTo(MarketId other)
Parameters
Returns
Type |
Description |
System.Int32 |
|
Declaration
public bool Equals(MarketId other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
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)
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.ValueType.GetHashCode()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.ValueType.ToString()
Operators
Declaration
public static bool operator ==(MarketId left, MarketId right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static implicit operator MarketId(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Declaration
public static bool operator !=(MarketId left, MarketId right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Explicit Interface Implementations
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