Table of Contents

Class HashCodeNodeIdentifier

Namespace
Echo.Graphing.Serialization.Dot
Assembly
Echo.dll

Provides an implementation of the INodeIdentifier interface, that returns the hash code of the node object as unique identifiers.

public class HashCodeNodeIdentifier : INodeIdentifier
Inheritance
HashCodeNodeIdentifier
Implements
Inherited Members

Properties

Instance

Provides a default instance of the HashCodeNodeIdentifier class.

public static HashCodeNodeIdentifier Instance { get; }

Property Value

HashCodeNodeIdentifier

Methods

GetIdentifier(INode)

Gets the identifier assigned to the node.

public long GetIdentifier(INode node)

Parameters

node INode

The node.

Returns

long

The identifier.