YamlDotNet.RepresentationModel.YamlNode.GetHashCode C# (CSharp) Method

GetHashCode() public method

Serves as a hash function for a particular type.
public GetHashCode ( ) : int
return int
        public override int GetHashCode()
        {
            // Do not use the anchor in the hash code because that would prevent anchored nodes from being found in dictionaries.
            return GetHashCode(Tag);
        }

Same methods

YamlNode::GetHashCode ( object value ) : int

Usage Example

コード例 #1
0
 public override int GetHashCode()
 {
     return(YamlNode.CombineHashCodes(base.GetHashCode(), YamlNode.GetHashCode(Value)));
 }