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 {
    }
  • 相关阅读:
    团队-科学计算器-设计文档
    团队-科学计算器-开发环境搭建过程
    《个人-GIT使用方法》
    结对-结对编项目作业名称-开发环境搭建过程
    结对编程项目作业-结对编项目设计文档
    阅读笔记,构建之法
    课程总结
    -阅读提问-3
    构建之法:现代软件工程-阅读笔记
    《科学计算机——环境搭建》
  • 原文地址:https://www.cnblogs.com/chinaniit/p/1519545.html
Copyright © 2011-2022 走看看