Table of Contents

Method Invoke

Namespace
Velvet
Assembly
Velvet.Docs.dll

Invoke(ISearchParams, NavigationMode)

Navigates to the current path with next as the query string.

public void Invoke(ISearchParams next, NavigationMode mode = NavigationMode.Push)

Parameters

next ISearchParams
mode NavigationMode

Invoke(Func<ISearchParams, ISearchParams>, NavigationMode)

Navigates to the current path with the query produced by applying updater to the CURRENT params — the functional form, for editing existing query state without rebuilding it by hand.

public void Invoke(Func<ISearchParams, ISearchParams> updater, NavigationMode mode = NavigationMode.Push)

Parameters

updater Func<ISearchParams, ISearchParams>
mode NavigationMode