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
Methods
GetIdentifier(INode)
Gets the identifier assigned to the node.
public long GetIdentifier(INode node)
Parameters
nodeINodeThe node.
Returns
- long
The identifier.