C# Class System.Yaml.YamlComplexNode

Abstract base class of YamlNode that have child nodes. YamlMapping and YamlSequence inherites from this class.
Inheritance: YamlNode
Datei anzeigen Open project: jbruening/YamlSerializer-Fork

Protected Methods

Method Description
GetHashCodeCore ( ) : int

Calculate hash code from YamlNode.Tag property and all child nodes. The result is cached.

GetHashCodeCoreSub ( int path, int>.Dictionary dict ) : int

Calculates the hash code for a collection object. This function is called recursively on the child objects with the sub cache code repository for the nodes already appeared in the node tree.

Method Details

GetHashCodeCore() protected method

Calculate hash code from YamlNode.Tag property and all child nodes. The result is cached.
protected GetHashCodeCore ( ) : int
return int

GetHashCodeCoreSub() protected abstract method

Calculates the hash code for a collection object. This function is called recursively on the child objects with the sub cache code repository for the nodes already appeared in the node tree.
protected abstract GetHashCodeCoreSub ( int path, int>.Dictionary dict ) : int
path int The cache code for the path where this node was found.
dict int>.Dictionary Repository of the nodes that already appeared in the node tree. /// Sub hash code for the nodes can be refered to from this dictionary.
return int