Struct GDIDWithISOKey
Represents a 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: Azos.dll
Syntax
public struct GDIDWithISOKey : IDistributedStableHashProvider, IEquatable<GDIDWithISOKey>
Constructors
GDIDWithISOKey(GDID, String)
Declaration
public GDIDWithISOKey(GDID gdid, string iso)
Parameters
Type |
Name |
Description |
GDID |
gdid |
|
System.String |
iso |
|
Fields
GDID
Declaration
public readonly GDID GDID
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(GDIDWithISOKey)
Declaration
public bool Equals(GDIDWithISOKey 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