public override bool Equals(object obj)
        {
            PositionTagged <T> positionTagged = obj as PositionTagged <T>;

            if (!(positionTagged != null) || positionTagged.Position != this.Position)
            {
                return(false);
            }
            return(object.Equals(positionTagged.Value, this.Value));
        }
Exemple #2
0
 public AttributeValue(PositionTagged <string> prefix, PositionTagged <object> value, bool literal)
 {
     this.Prefix  = prefix;
     this.Value   = value;
     this.Literal = literal;
 }