Skip to content

Instantly share code, notes, and snippets.

@johnnonolan
Created August 5, 2011 19:20
Show Gist options
  • Select an option

  • Save johnnonolan/1128292 to your computer and use it in GitHub Desktop.

Select an option

Save johnnonolan/1128292 to your computer and use it in GitHub Desktop.
public static BeforeFilters operator +(BeforeFilters filters, Func<RequestContext, Response> filter)
{
filters.AddFilterToEnd(filter);
return filters;
}
public void AddFilterToEnd(Func<RequestContext, Response> filter)
{
Filters.Add(filter);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment