Class SearchParams
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
Default ISearchParams implementation backed by an ordered multi-value map. Build one with Append(string, string) to pass to the search-params setter; the parser produces these from a query string. Enumerating an instance yields its distinct keys in insertion order.
public sealed class SearchParams : ISearchParams
- Inheritance
-
objectSearchParams
- Implements
Fields
- Empty
An empty instance.
Properties
- Count
Number of distinct keys.
- Keys
Distinct keys in insertion order.
Methods
- Append(string, string)
Appends a value for a key, preserving any value already stored under the same key.
- Get(string)
Returns the first value for a key, or
nullwhen the key is absent.
- GetAll(string)
Returns every value for a key in insertion order, or an empty list when absent.
- GetEnumerator()
Returns an enumerator that iterates through the collection.
- Has(string)
Returns whether the given key is present.