Table of Contents

Class SearchParams

Namespace
Velvet
Assembly
Velvet.Docs.dll

Mutable ISearchParams implementation that retains key insertion order.

public sealed class SearchParams : ISearchParams
Inheritance
object
SearchParams
Implements

Properties

Count

Number of distinct keys.

Empty

A new empty instance on each read, so Append(string, string) on one reaches no other reader.

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 null when 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)