Show / Hide Table of Contents

Struct ProductKey

Implements
IEquatable<ProductKey>
IComparable<ProductKey>
Inherited Members
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
Namespace: tt_net_sdk
Assembly: tt-net-api.dll
Syntax
public struct ProductKey : IEquatable<ProductKey>, IComparable<ProductKey>

Constructors

ProductKey(MarketId, ProductType, string)

Declaration
public ProductKey(MarketId marketId, ProductType type, string name)
Parameters
Type Name Description
MarketId marketId
ProductType type
string name

Fields

Empty

Declaration
public static ProductKey Empty
Field Value
Type Description
ProductKey

EmptyId

Declaration
public static ulong EmptyId
Field Value
Type Description
ulong

Properties

MarketId

Declaration
public MarketId MarketId { get; }
Property Value
Type Description
MarketId

Name

Declaration
public string Name { get; }
Property Value
Type Description
string

ProductId

Declaration
public ulong ProductId { get; }
Property Value
Type Description
ulong

Type

Declaration
public ProductType Type { get; }
Property Value
Type Description
ProductType

Methods

Equals(object)

Declaration
public override bool Equals(object other)
Parameters
Type Name Description
object other
Returns
Type Description
bool
Overrides
ValueType.Equals(object)

Equals(ProductKey)

Declaration
public bool Equals(ProductKey rhs)
Parameters
Type Name Description
ProductKey rhs
Returns
Type Description
bool

GetHashCode()

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

IsEmpty(ProductKey)

Declaration
public static bool IsEmpty(ProductKey key)
Parameters
Type Name Description
ProductKey key
Returns
Type Description
bool

IsSynthetic()

Declaration
public bool IsSynthetic()
Returns
Type Description
bool

ToString()

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

Operators

operator ==(ProductKey, ProductKey)

Declaration
public static bool operator ==(ProductKey lhs, ProductKey rhs)
Parameters
Type Name Description
ProductKey lhs
ProductKey rhs
Returns
Type Description
bool

operator !=(ProductKey, ProductKey)

Declaration
public static bool operator !=(ProductKey lhs, ProductKey rhs)
Parameters
Type Name Description
ProductKey lhs
ProductKey rhs
Returns
Type Description
bool

Implements

IEquatable<T>
IComparable<T>
In this article
Back to top