public override bool Equals(object obj) { PositionTagged <T> other = obj as PositionTagged <T>; return(other != null && other.Position == Position && Equals(other.Value, Value)); }
/// <summary> /// Creates a new Razor Html Attribute value. /// </summary> /// <param name="prefix"></param> /// <param name="value"></param> /// <param name="literal"></param> public AttributeValue(PositionTagged <string> prefix, PositionTagged <object> value, bool literal) { Prefix = prefix; Value = value; Literal = literal; }