我认为我的问题不太可能。
假设我有一个属性:
public sealed class MyCustomAttribute: ActionFilterAttribute
在类方法上使用
[MyCustomAttribute]
public virtual ActionResult Options(FormCollection collection)
现在,我需要添加一个构造器的参数
public MyCustomAttribute(IMyDependentObject dependentObject)
{
(...