Search Results for

    Show / Hide Table of Contents
    View Source

    Class TourController

    Inheritance
    System.Object
    Microsoft.AspNetCore.Mvc.ControllerBase
    UmbracoApiControllerBase
    UmbracoApiController
    UmbracoAuthorizedApiController
    UmbracoAuthorizedJsonController
    Namespace: Umbraco.Cms.Web.BackOffice.Controllers
    Assembly: Umbraco.Web.BackOffice.dll
    Syntax
    [PluginController("UmbracoApi")]
    public class TourController : UmbracoAuthorizedJsonController, IUmbracoFeature, IDiscoverable

    Constructors

    View Source

    TourController(TourFilterCollection, IHostingEnvironment, IOptionsSnapshot<TourSettings>, IBackOfficeSecurityAccessor, IContentTypeService)

    Declaration
    public TourController(TourFilterCollection filters, IHostingEnvironment hostingEnvironment, IOptionsSnapshot<TourSettings> tourSettings, IBackOfficeSecurityAccessor backofficeSecurityAccessor, IContentTypeService contentTypeService)
    Parameters
    Type Name Description
    TourFilterCollection filters
    IHostingEnvironment hostingEnvironment
    Microsoft.Extensions.Options.IOptionsSnapshot<TourSettings> tourSettings
    IBackOfficeSecurityAccessor backofficeSecurityAccessor
    IContentTypeService contentTypeService

    Methods

    View Source

    GetTours()

    Declaration
    public async Task<IEnumerable<BackOfficeTourFile>> GetTours()
    Returns
    Type Description
    Task<IEnumerable<BackOfficeTourFile>>
    View Source

    GetToursForDoctype(String)

    Gets a tours for a specific doctype

    Declaration
    public async Task<IEnumerable<BackOfficeTour>> GetToursForDoctype(string doctypeAlias)
    Parameters
    Type Name Description
    System.String doctypeAlias

    The documenttype alias

    Returns
    Type Description
    Task<IEnumerable<BackOfficeTour>>

    A BackOfficeTour

    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • TourController(TourFilterCollection, IHostingEnvironment, IOptionsSnapshot<TourSettings>, IBackOfficeSecurityAccessor, IContentTypeService)
    • Methods
      • GetTours()
      • GetToursForDoctype(String)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX