Class RenderNoContentController
Inheritance
System.Object
Microsoft.AspNetCore.Mvc.ControllerBase
Microsoft.AspNetCore.Mvc.Controller
Namespace: Umbraco.Cms.Web.Website.Controllers
Assembly: Umbraco.Web.Website.dll
Syntax
public class RenderNoContentController : Controller, IActionFilter, IAsyncActionFilter, IFilterMetadata, IDisposable
Constructors
View SourceRenderNoContentController(IUmbracoContextAccessor, IIOHelper, IOptionsSnapshot<GlobalSettings>)
Declaration
public RenderNoContentController(IUmbracoContextAccessor umbracoContextAccessor, IIOHelper ioHelper, IOptionsSnapshot<GlobalSettings> globalSettings)
Parameters
Type | Name | Description |
---|---|---|
IUmbracoContextAccessor | umbracoContextAccessor | |
IIOHelper | ioHelper | |
Microsoft.Extensions.Options.IOptionsSnapshot<GlobalSettings> | globalSettings |
RenderNoContentController(IUmbracoContextAccessor, IOptionsSnapshot<GlobalSettings>, IHostingEnvironment)
Declaration
[ActivatorUtilitiesConstructor]
public RenderNoContentController(IUmbracoContextAccessor umbracoContextAccessor, IOptionsSnapshot<GlobalSettings> globalSettings, IHostingEnvironment hostingEnvironment)
Parameters
Type | Name | Description |
---|---|---|
IUmbracoContextAccessor | umbracoContextAccessor | |
Microsoft.Extensions.Options.IOptionsSnapshot<GlobalSettings> | globalSettings | |
IHostingEnvironment | hostingEnvironment |
Methods
View SourceIndex()
Declaration
public ActionResult Index()
Returns
Type | Description |
---|---|
Microsoft.AspNetCore.Mvc.ActionResult |