Struct TwoGDIDWithISOKey
Represents a value-type 2 GDIDs+3 char ISO code tuple, suitable for serving as a cache table key.
The point of this structure is to avoid creation of references for Pile cache so keys alone do not stall the GC.
The ISO code is case-insensitive
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: NFX.dll
Syntax
public struct TwoGDIDWithISOKey : IDistributedStableHashProvider, IEquatable<TwoGDIDWithISOKey>
Constructors
TwoGDIDWithISOKey(GDID, GDID, String)
Declaration
public TwoGDIDWithISOKey(GDID gdid1, GDID gdid2, string iso)
Parameters
Type |
Name |
Description |
GDID |
gdid1 |
|
GDID |
gdid2 |
|
System.String |
iso |
|
Fields
GDID1
Declaration
public readonly GDID GDID1
Field Value
GDID2
Declaration
public readonly GDID GDID2
Field Value
ISO
Declaration
Field Value
Type |
Description |
System.Int32 |
|
Properties
ISOCode
Declaration
public string ISOCode { get; }
Property Value
Type |
Description |
System.String |
|
Methods
Equals(TwoGDIDWithISOKey)
Declaration
public bool Equals(TwoGDIDWithISOKey other)
Parameters
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)
GetDistributedStableHash()
Declaration
public ulong GetDistributedStableHash()
Returns
Type |
Description |
System.UInt64 |
|
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()
Implements
System.IEquatable<T>
Extension Methods