System.Yaml.YamlNode.Equals C# (CSharp) Méthode

Equals() public méthode

Returns true if obj is of same type as the YamlNode and its content is also logically same.
Two YamlNode's are logically equal when the YamlNode and its child nodes have the same contents (YamlNode.Tag and YamlScalar.Value) and their node graph topology is exactly same as the other.
public Equals ( object obj ) : bool
obj object Object to be compared.
Résultat bool
        public override bool Equals(object obj)
        {
            if ( obj == null || !( obj is YamlNode ) )
                return false;
            var repository = new ObjectRepository();
            return Equals((YamlNode)obj, repository);
        }

Same methods

YamlNode::Equals ( YamlNode b, ObjectRepository repository ) : bool