MVC/Unity - How to inject dependencies into custom FilterAttributes?

Posted by Scott on Stack Overflow See other posts from Stack Overflow or by Scott
Published on 2009-06-23T22:31:05Z Indexed on 2010/05/10 19:04 UTC
Read the original article Hit count: 232

I Have a custom HandleErrorAttribute that extends FilterAttribute.

How can I have Unity inject dependencies into this attribute at the same time that it injects the controller's dependencies itself?

© Stack Overflow or respective owner

Related posts about unity

Related posts about asp.net-mvc