Represents an alias node in the YAML document.
Inheritance: YamlNode
        public override bool Equals(object obj)
        {
            YamlAliasNode yamlAliasNode = obj as YamlAliasNode;

            return(yamlAliasNode != null && Equals(yamlAliasNode) && YamlNode.SafeEquals(base.Anchor, yamlAliasNode.Anchor));
        }
Exemplo n.º 2
0
        public override bool Equals(object other)
        {
            YamlAliasNode node = other as YamlAliasNode;

            return(((node != null) && base.Equals(node)) && SafeEquals(base.Anchor, node.Anchor));
        }