Table of Contents

Interface ISearchParams

Namespace
Velvet
Assembly
Velvet.Docs.dll

Read-only view over URL query parameters that preserves every value of a repeated key.

public interface ISearchParams

Remarks

Get(string) returns the first value for a key, while GetAll(string) returns every value in insertion order.

Properties

Count

Number of distinct keys.

Keys

Distinct keys in insertion order.

Methods

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.

Has(string)

Returns whether the given key is present.