示例
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, Inherited = true, AllowMultiple = false)]
public class RedirectingActionAttribute : ActionFilterAttribute但是如果我们不使用AttributeUsage,那么ActionFilterAttribute的默认值是什么。我在谷歌搜索,但找不到。
发布于 2015-03-13 10:18:13
这是ActionFilterAttribute的默认值
[System.AttributeUsage(System.AttributeTargets.All,
AllowMultiple = false,
Inherited = true)]https://stackoverflow.com/questions/29029238
复制相似问题