I have a filter like this one:

```
public class CustomFilterAttribute : ActionFilterAttribute, IAuthorizationFilter
{
    public MyPropery Property { get; set; }
    ....
}

```

I need it to be run for every actions in my project

I tried to register it in the GlobalFilters but my property doesn't get injected

I tried [This solution](https://stackoverflow.com/a/10108428/1026105) to register my filter but it doesn't get called

Any idea on how to do that?