Search Results for

    Show / Hide Table of Contents
    View Source

    Class RenderNoContentController

    Inheritance
    object
    ControllerBase
    Controller
    Namespace: Umbraco.Cms.Web.Website.Controllers
    Assembly: Umbraco.Web.Website.dll
    Syntax
    public class RenderNoContentController : Controller

    Constructors

    View Source

    RenderNoContentController(IHostingEnvironment, IOptionsSnapshot<GlobalSettings>, IDocumentUrlService)

    Declaration
    [ActivatorUtilitiesConstructor]
    public RenderNoContentController(IHostingEnvironment hostingEnvironment, IOptionsSnapshot<GlobalSettings> globalSettings, IDocumentUrlService urlService)
    Parameters
    Type Name Description
    IHostingEnvironment hostingEnvironment
    IOptionsSnapshot<GlobalSettings> globalSettings
    IDocumentUrlService urlService
    View Source

    RenderNoContentController(IUmbracoContextAccessor, IHostingEnvironment, IOptionsSnapshot<GlobalSettings>)

    Declaration
    [Obsolete("Scheduled for removal in Umbraco 18")]
    public RenderNoContentController(IUmbracoContextAccessor umbracoContextAccessor, IHostingEnvironment hostingEnvironment, IOptionsSnapshot<GlobalSettings> globalSettings)
    Parameters
    Type Name Description
    IUmbracoContextAccessor umbracoContextAccessor
    IHostingEnvironment hostingEnvironment
    IOptionsSnapshot<GlobalSettings> globalSettings

    Methods

    View Source

    Index()

    Declaration
    public ActionResult Index()
    Returns
    Type Description
    ActionResult
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX