Skip to content

NameHash

Public Class

Contains information that is useful to uniquely identify an object name.

Remarks

This object is immutable.

Inheritance Hierarchy

System.Object
Rhino.FileIO.NameHash

Namespace: Rhino.FileIO

Assembly: RhinoCommon (in RhinoCommon.dll)

Syntax

public class NameHash : ICloneable, IEquatable<NameHash>

The NameHash type exposes the following members.

Constructors

Name

Description


Protected Method

Constructs a copy of a content hash.


Public Method

Creates a new NameHash, representing a piece of text.


Public Method

Creates a new NameHash, representing a piece of text.


Public Method

Creates a new NameHash, representing a piece of text.


Public Method

Creates a new NameHash, representing a piece of text.


Properties

Name

Description


Public Property

Gets the NameHash flags. In some cases = number of mapped code points.


Public Property

Only useful if this participates in a tree structure, as with layers.


Public Property

Gets the 20-bytes long SHA-1 hash of ordinal minimum mapped Unicode (UTF-32) code points.


Methods

Name

Description


Public Method

Creates a copy of this name hash. Because content hash is immutable, this can be used as a deep copy.


Public Method
Static Member

Creates a new NameHash, representing the name of a file.


Public Method

Determines if another name hash has the same value.


Public Method

Determines if another object is a name hash with same value.

(Overrides Object.Equals(Object).)


Protected Method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.

(Inherited from Object.)


Public Method

Gets an hash code for this name hash. Two equal content hashes have equal hash code. The other way around might not be true.

(Overrides Object.GetHashCode..)


Public Method

GetType

Gets the Type of the current instance.

(Inherited from Object.)


Protected Method

MemberwiseClone

Creates a shallow copy of the current Object.

(Inherited from Object.)


Public Method

ToString

Returns a string that represents the current object.

(Inherited from Object.)


Operators

Name

Description


Public Operator
Static Member
Equality

Determines if two NameHash instances are equal by value.


Public Operator
Static Member
Inequality

Determines if two NameHash instances are different by value.