1
Vote

Allow registration of unknown filters types at runtime.

description

I'd like to be able to scan my assemblies for attributes that derive from a certain type, and then register them to be used on all controller actions. Right now, the filter registry methods require generics. I won't know the type until runtime however. There's a method available to do this, but you have it marked as private:

private static IFilterRegistry Register(IFilterRegistry instance, IEnumerable<Type> typeCatalog, params Type[] filterTypes) {...}

I think this method should be set as public so I can easily pass along the filter types I get back from IBuildManager.ConcreteTypes.

comments