Skip to content

Instantly share code, notes, and snippets.

@jesulink2514
Created January 3, 2016 21:48
Show Gist options
  • Save jesulink2514/c20258854ca5d931640c to your computer and use it in GitHub Desktop.
Save jesulink2514/c20258854ca5d931640c to your computer and use it in GitHub Desktop.
IActionFilter de ASP.Net MVC 5.2.3
// Assembly Microsoft.AspNet.Mvc.5.2.3
namespace System.Web.Mvc
{
/// <summary>
/// Defines the methods that are used in an action filter.
/// </summary>
public interface IActionFilter
{
/// <summary>
/// Called before an action method executes.
/// </summary>
/// <param name="filterContext">The filter context.</param>
void OnActionExecuting(ActionExecutingContext filterContext);
/// <summary>
/// Called after the action method executes.
/// </summary>
/// <param name="filterContext">The filter context.</param>
void OnActionExecuted(ActionExecutedContext filterContext);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment