list.Add (item);
}
+ internal void AddRange (List<T> values)
+ {
+ list.AddRange (values);
+ }
+
public void Clear ()
{
list.Clear ();
return list.Remove (item);
}
+ public override string ToString ()
+ {
+ // This implementation prints different values than
+ // what .NET does when one of the values is invalid
+ // But it better represents what is actually hold by
+ // the collection
+ return string.Join (headerInfo.Separator, list);
+ }
+
public bool TryParseAdd (string input)
{
return headers.AddValue (input, headerInfo, true);