Struct DatedGDIDWithISOKey
Represents a date (not time)-sensitive value-type GDID+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 DatedGDIDWithISOKey : IDistributedStableHashProvider, IEquatable<DatedGDIDWithISOKey>
Constructors
DatedGDIDWithISOKey(DateTime, GDID, String)
Declaration
public DatedGDIDWithISOKey(DateTime date, GDID gdid, string iso)
Parameters
Type |
Name |
Description |
System.DateTime |
date |
|
GDID |
gdid |
|
System.String |
iso |
|
Fields
GDID
Declaration
public readonly GDID GDID
Field Value
ISO
Declaration
Field Value
Type |
Description |
System.Int32 |
|
YMD
Declaration
Field Value
Type |
Description |
System.Int32 |
|
Properties
DateTime
Declaration
public DateTime DateTime { get; }
Property Value
Type |
Description |
System.DateTime |
|
ISOCode
Declaration
public string ISOCode { get; }
Property Value
Type |
Description |
System.String |
|
Methods
Equals(DatedGDIDWithISOKey)
Declaration
public bool Equals(DatedGDIDWithISOKey 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