Struct ProductKey
Inherited Members
Object.Equals(Object, Object)
Object.GetType()
Object.ReferenceEquals(Object, Object)
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
Fields
Empty
Declaration
public static ProductKey Empty
Field Value
EmptyId
Declaration
public static ulong EmptyId
Field Value
Properties
MarketId
Declaration
public MarketId MarketId { get; }
Property Value
Name
Declaration
public string Name { get; }
Property Value
ProductId
Declaration
public ulong ProductId { get; }
Property Value
Type
Declaration
public ProductType Type { get; }
Property Value
Methods
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
Object |
other |
|
Returns
Overrides
System.ValueType.Equals(System.Object)
Equals(ProductKey)
Declaration
public bool Equals(ProductKey rhs)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
System.ValueType.GetHashCode()
IsEmpty(ProductKey)
Declaration
public static bool IsEmpty(ProductKey key)
Parameters
Returns
IsSynthetic()
Declaration
public bool IsSynthetic()
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
System.ValueType.ToString()
Operators
Equality(ProductKey, ProductKey)
Declaration
public static bool operator ==(ProductKey lhs, ProductKey rhs)
Parameters
Returns
Inequality(ProductKey, ProductKey)
Declaration
public static bool operator !=(ProductKey lhs, ProductKey rhs)
Parameters
Returns
Explicit Interface Implementations
IComparable<ProductKey>.CompareTo(ProductKey)
Declaration
int IComparable<ProductKey>.CompareTo(ProductKey other)
Parameters
Returns
IEquatable<ProductKey>.Equals(ProductKey)
Declaration
bool IEquatable<ProductKey>.Equals(ProductKey other)
Parameters
Returns
Implements
System.IEquatable<T>
System.IComparable<T>