Class RequireClientResourcesAttribute

Action filter to require client resources

Inheritance
System.Object
RequireClientResourcesAttribute
Namespace: EPiServer.Framework.Web.Mvc
Assembly: EPiServer.Framework.dll
Version: 8.11.0
Syntax
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, Inherited = true, AllowMultiple = false)]
public sealed class RequireClientResourcesAttribute : ActionFilterAttribute

Constructors

RequireClientResourcesAttribute()

Initializes a new instance of the RequireClientResourcesAttribute class.

Declaration
public RequireClientResourcesAttribute()

Methods

OnResultExecuting(ResultExecutingContext)

Called by the ASP.NET MVC framework before the action result executes. All client resource registers will be called to register resources that are required for the current context.

Declaration
public override void OnResultExecuting(ResultExecutingContext filterContext)
Parameters
Type Name Description
System.Web.Mvc.ResultExecutingContext filterContext

The filter context.