Struct Dated2GDIDWithISOKey
Represents a date (not time)-sensitive 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 Dated2GDIDWithISOKey : IDistributedStableHashProvider, IEquatable<Dated2GDIDWithISOKey>
Constructors
Dated2GDIDWithISOKey(DateTime, GDID, GDID, String)
Declaration
public Dated2GDIDWithISOKey(DateTime date, GDID gdid1, GDID gdid2, string iso)
Parameters
Type |
Name |
Description |
System.DateTime |
date |
|
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 |
|
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(Dated2GDIDWithISOKey)
Declaration
public bool Equals(Dated2GDIDWithISOKey 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