UI Tookit UI Tookit
UI Tookit UI Tookit
DocFX + Singulink = ♥

Search Results for

    Class RouteQueryBuilder

    A mutable fluent builder for composing RouteQuery instances. Obtain one via ToBuilder() or by constructing a new instance, and finalize the result with ToQuery().

    Inheritance
    object
    RouteQueryBuilder
    Implements
    IEnumerable<(string Key, string Value)>
    IEnumerable
    Namespace: Singulink.UI.Navigation
    Assembly: Singulink.UI.Navigation.dll
    Syntax
    public sealed class RouteQueryBuilder : IEnumerable<(string Key, string Value)>, IEnumerable

    Constructors

    Name Description
    RouteQueryBuilder()

    Initializes a new instance of the RouteQueryBuilder class that is empty.

    RouteQueryBuilder(int)

    Initializes a new instance of the RouteQueryBuilder class that is empty and has the specified initial capacity.

    Properties

    Name Description
    Count

    Gets the number of entries in the builder.

    Methods

    Name Description
    Add<T>(string, T)

    Adds a new entry with the specified key and strongly-typed value. Throws if an entry with the same key already exists.

    ContainsKey(string)

    Determines whether the builder contains an entry with the specified key.

    GetEnumerator()

    Returns an enumerator that iterates through the collection.

    Remove(IEnumerable<string>)

    Removes the entries with the specified keys, if they exist.

    Remove(params ReadOnlySpan<string>)

    Removes the entries with the specified keys, if they exist.

    Remove(string)

    Removes the entry with the specified key, if it exists.

    Set<T>(string, T)

    Sets the value for the specified key, adding a new entry if one does not already exist or replacing the existing value if it does.

    ToQuery()

    Finalizes the builder into an immutable RouteQuery.

    TryGetValue<T>(string, out T)

    Attempts to get the value associated with the specified key, parsed as the specified type using invariant culture formatting.

    Explicit Interface Implementations

    Name Description
    IEnumerable.GetEnumerator()

    Returns an enumerator that iterates through a collection.

    © Singulink. All rights reserved.