Search Results for

    Show / Hide Table of Contents
    View Source

    Interface ISortHandler

    A handler that handles sort query parameters.

    Namespace: Umbraco.Cms.Core.DeliveryApi
    Assembly: Umbraco.Core.dll
    Syntax
    public interface ISortHandler : IQueryHandler, IDiscoverable

    Methods

    View Source

    BuildSortOption(String)

    Builds a SortOption for the sort query.

    Declaration
    SortOption BuildSortOption(string sort)
    Parameters
    Type Name Description
    System.String sort

    The sort query (i.e. "name:asc").

    Returns
    Type Description
    SortOption

    A SortOption that can be used when building specific sorting queries.

    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • BuildSortOption(String)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX