Show / Hide Table of Contents

Class StableExpressionSlimHasher

Utility to create stable hash codes for expression trees.

Inheritance
System.Object
ExpressionSlimHasher
StableExpressionSlimHasher
Inherited Members
ExpressionSlimHasher.GetHashCode(ExpressionSlim)
ExpressionSlimHasher.GetHashCode(ParameterExpressionSlim)
ExpressionSlimHasher.GetHashCode(LabelTargetSlim)
Namespace: System.Linq.Expressions
Assembly: Nuqleon.Linq.Expressions.Bonsai.Hashing.dll
Syntax
public class StableExpressionSlimHasher : ExpressionSlimHasher

Constructors

StableExpressionSlimHasher(StableExpressionSlimHashingOptions)

Creates a new stable expression hasher with the specified options.

Declaration
public StableExpressionSlimHasher(StableExpressionSlimHashingOptions options)
Parameters
Type Name Description
StableExpressionSlimHashingOptions options

Options to influence the behavior of stable hashing of expression trees.

Methods

GetHashCode(ObjectSlim)

Gets the hash code for the specified object value.

Declaration
protected override int GetHashCode(ObjectSlim value)
Parameters
Type Name Description
System.ObjectSlim value

The object value to get the hash code for.

Returns
Type Description
System.Int32

A hash code for the specified object value.

Overrides
ExpressionSlimHasher.GetHashCode(ObjectSlim)

GetHashCode(AssemblySlim)

Gets the hash code for the specified assembly.

Declaration
protected override int GetHashCode(AssemblySlim assembly)
Parameters
Type Name Description
AssemblySlim assembly

The assembly to get the hash code for.

Returns
Type Description
System.Int32

A hash code for the specified assembly.

Overrides
ExpressionSlimHasher.GetHashCode(AssemblySlim)

GetHashCode(String)

Gets the hash code for the specified string value.

Declaration
protected override int GetHashCode(string value)
Parameters
Type Name Description
System.String value

The string value to get the hash code for.

Returns
Type Description
System.Int32

A hash code for the specified string value.

Overrides
ExpressionSlimHasher.GetHashCode(String)
In This Article
Back to top Generated by DocFX