FrameIT
REST_JSON_API.HashCode Struct Reference

Compute a hash code. More...

Static Public Member Functions

static implicit operator int (HashCode hc)
 Convert to the actual hash code based on what was added so far. More...
 
static HashCode operator+ (HashCode hc, int other)
 Add a hash code to the state. More...
 
static HashCode operator+ (HashCode hc, IEnumerable< int > others)
 Add a sequence of hash code to the state. More...
 

Static Public Attributes

const int Seed = 0x20e699b
 
const int Factor = unchecked((int)0xa5555529)
 

Private Member Functions

 HashCode (int value)
 

Private Attributes

readonly? int _value
 

Detailed Description

Compute a hash code.

Constructor & Destructor Documentation

◆ HashCode()

REST_JSON_API.HashCode.HashCode ( int  value)
private

Member Function Documentation

◆ operator int()

static implicit REST_JSON_API.HashCode.operator int ( HashCode  hc)
static

Convert to the actual hash code based on what was added so far.

◆ operator+() [1/2]

static HashCode REST_JSON_API.HashCode.operator+ ( HashCode  hc,
IEnumerable< int >  others 
)
static

Add a sequence of hash code to the state.

Returns
An updated HashCode.

◆ operator+() [2/2]

static HashCode REST_JSON_API.HashCode.operator+ ( HashCode  hc,
int  other 
)
static

Add a hash code to the state.

Returns
An updated HashCode.

Member Data Documentation

◆ _value

readonly? int REST_JSON_API.HashCode._value
private

◆ Factor

const int REST_JSON_API.HashCode.Factor = unchecked((int)0xa5555529)
static

◆ Seed

const int REST_JSON_API.HashCode.Seed = 0x20e699b
static

The documentation for this struct was generated from the following file: