Created
April 14, 2012 08:21
-
-
Save tugberkugurlu/2382862 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class CustomFilterProvider : IFilterProvider { | |
public IEnumerable<Filter> GetFilters(ControllerContext controllerContext, ActionDescriptor actionDescriptor) { | |
yield return new Filter( | |
new SecondaryLoggingFilterAttribute(), FilterScope.Controller, null | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment