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 {
    }
  • 相关阅读:
    mescroll vue tab页实现切换刷新列表
    路由权限配置
    js实现拖拽
    .eslintrc.js
    vue-cli项目中使用mock结合axios-mock-adapter生成模拟数据【转】
    原型模式
    设计模式简介
    @RequestParam @RequestBody @PathVariable 等参数绑定注解详解
    spring定时任务执行两次
    java反射--注解的定义与运用以及权限拦截
  • 原文地址:https://www.cnblogs.com/chinaniit/p/1519545.html
Copyright © 2011-2022 走看看