Search Results for

    Show / Hide Table of Contents
    View Source

    Class PublishedUrlInfoProvider

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Routing
    Assembly: Umbraco.Core.dll
    Syntax
    public class PublishedUrlInfoProvider : IPublishedUrlInfoProvider

    Constructors

    View Source

    PublishedUrlInfoProvider(IPublishedUrlProvider, ILanguageService, IPublishedRouter, IUmbracoContextAccessor, ILocalizedTextService, ILogger<PublishedUrlInfoProvider>, UriUtility, IVariationContextAccessor)

    Declaration
    public PublishedUrlInfoProvider(IPublishedUrlProvider publishedUrlProvider, ILanguageService languageService, IPublishedRouter publishedRouter, IUmbracoContextAccessor umbracoContextAccessor, ILocalizedTextService localizedTextService, ILogger<PublishedUrlInfoProvider> logger, UriUtility uriUtility, IVariationContextAccessor variationContextAccessor)
    Parameters
    Type Name Description
    IPublishedUrlProvider publishedUrlProvider
    ILanguageService languageService
    IPublishedRouter publishedRouter
    IUmbracoContextAccessor umbracoContextAccessor
    ILocalizedTextService localizedTextService
    ILogger<PublishedUrlInfoProvider> logger
    UriUtility uriUtility
    IVariationContextAccessor variationContextAccessor

    Methods

    View Source

    GetAllAsync(IContent)

    Gets all published urls for a content item.

    Declaration
    public async Task<ISet<UrlInfo>> GetAllAsync(IContent content)
    Parameters
    Type Name Description
    IContent content

    The content to get urls for.

    Returns
    Type Description
    Task<ISet<UrlInfo>>

    Set of all published url infos.

    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • PublishedUrlInfoProvider(IPublishedUrlProvider, ILanguageService, IPublishedRouter, IUmbracoContextAccessor, ILocalizedTextService, ILogger<PublishedUrlInfoProvider>, UriUtility, IVariationContextAccessor)
    • Methods
      • GetAllAsync(IContent)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX