zoukankan      html  css  js  c++  java
  • asp.net mvc source(3)Attribute

        [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
        
    public abstract class ActionNameSelectorAttribute : Attribute {}
        [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, Inherited = true, AllowMultiple = false)]
        
    public class OutputCacheAttribute : ActionFilterAttribute {}
        [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, Inherited = true, AllowMultiple = false)]
        
    public abstract class ActionFilterAttribute : FilterAttribute, IActionFilter, IResultFilter {}
        [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, Inherited = true, AllowMultiple = false)]
        
    public abstract class FilterAttribute : Attribute {}
        [AttributeUsage(AttributeTargets.Class | AttributeTargets.Parameter, AllowMultiple = false, Inherited = true)]
        
    public sealed class BindAttribute : Attribute {}
        [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, Inherited = true, AllowMultiple = true)]
        
    public class AuthorizeAttribute : FilterAttribute, IAuthorizationFilter {}
    private sealed class FormCollectionBinderAttribute : CustomModelBinderAttribute {}
        [AttributeUsage(ValidTargets, AllowMultiple = false, Inherited = false)]
        
    public abstract class CustomModelBinderAttribute : Attribute {}
        [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
        
    public sealed class AcceptVerbsAttribute : ActionMethodSelectorAttribute {}
        [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
        
    public abstract class ActionMethodSelectorAttribute : Attribute {}
        [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
        
    public sealed class ActionNameAttribute : ActionNameSelectorAttribute {}
        [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
        
    public sealed class ValidateAntiForgeryTokenAttribute : FilterAttribute, IAuthorizationFilter {}
        [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, Inherited = true, AllowMultiple = false)]
        
    public class ValidateInputAttribute : FilterAttribute, IAuthorizationFilter {
    }
  • 相关阅读:
    《淘宝网》之系统质量属性分析
    《架构漫谈》读后感 之“关于软件架构师如何工作”
    《软件需求》读后感06
    《软件需求》读后感05
    Cforeach的详细用法--【转】
    事件(Event)(onclick,onchange,onload,onunload,onfocus,onblur,onselect,onmuse)【转载】
    十七、Mysql的主从(一)--主从原理
    十七、Mysql的主从(二)--主从复制部署
    十六、mysql的备份与恢复(三)--xtrabackup(XBK、Xbackup)
    十六、mysql的备份与恢复(二)--mysqldump
  • 原文地址:https://www.cnblogs.com/chinaniit/p/1519545.html
Copyright © 2011-2022 走看看