Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IContentFinder

    Provides a method to try to find and assign an Umbraco document to a PublishedRequest.

    Namespace: Umbraco.Cms.Core.Routing
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IContentFinder

    Methods

    View Source

    TryFindContent(IPublishedRequestBuilder)

    Tries to find and assign an Umbraco document to a PublishedRequest.

    Declaration
    Task<bool> TryFindContent(IPublishedRequestBuilder request)
    Parameters
    Type Name Description
    IPublishedRequestBuilder request

    The PublishedRequest.

    Returns
    Type Description
    Task<System.Boolean>

    A value indicating whether an Umbraco document was found and assigned.

    Remarks

    Optionally, can also assign the template or anything else on the document request, although that is not required.

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