Show / Hide Table of Contents

Class HashUtils

Hash helpers used by Glue protocol for type resolution

Inheritance
System.Object
HashUtils
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: NFX.Glue.Protocol
Assembly: NFX.dll
Syntax
public static class HashUtils

Methods

StringIDHash(String)

Converts string identifier into uint64 stable hash that does not depend on a platform. This functions optimized for hashing identifiers/type names

Declaration
public static ulong StringIDHash(string id)
Parameters
Type Name Description
System.String id
Returns
Type Description
System.UInt64

TypeHash(Type)

Returns stable ulong hash for a type that does not depend on a platform

Declaration
public static ulong TypeHash(Type type)
Parameters
Type Name Description
System.Type type
Returns
Type Description
System.UInt64
Back to top Copyright © 2006-2018 Agnicore Inc
Generated by DocFX