public QueryLink Add(string key, string value) { QueryLink result; KeyValue <string, string> item = KeyValue.Create(key, value); if (this.head.HasValue) { result = this.Add(item); } else { result = new QueryLink(item); } return(result); }
public QueryLink(KeyValue <string, string> head, QueryLink tail) : this(head) { this.Tail = tail; }
public QueryLink(string key, string value, QueryLink tail) : this(KeyValue.Create(key, value), tail) { }
public bool Equals(QueryLink other) { return(other.NotNull() && this.Head == other.Head && this.Tail == other.Tail); }