How to pass parameters to a custom ActionFilter in ASP.NET MVC 2?

后端 未结 3 1832
一向
一向 2020-12-01 01:13

I\'m trying to create a custom ActionFilter which operates on a set of parameters that would be passed to it from the controller.

So far, my customer ActionFilter lo

3条回答
  •  北海茫月
    2020-12-01 01:17

    You can only use constant values for attribute properties; see a this page for a full explanation.

提交回复
热议问题