Share via


UseWebApiOverloadingAttribute 类

定义

指示仅当满足所有非可选参数时,才应选择控制器中的操作。 将 OverloadActionConstraint 应用于控制器中的所有操作。

public ref class UseWebApiOverloadingAttribute : Attribute, Microsoft::AspNetCore::Mvc::WebApiCompatShim::IUseWebApiOverloading
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)]
public class UseWebApiOverloadingAttribute : Attribute, Microsoft.AspNetCore.Mvc.WebApiCompatShim.IUseWebApiOverloading
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)>]
type UseWebApiOverloadingAttribute = class
    inherit Attribute
    interface IUseWebApiOverloading
Public Class UseWebApiOverloadingAttribute
Inherits Attribute
Implements IUseWebApiOverloading
继承
UseWebApiOverloadingAttribute
属性
实现

构造函数

UseWebApiOverloadingAttribute()

指示仅当满足所有非可选参数时,才应选择控制器中的操作。 将 OverloadActionConstraint 应用于控制器中的所有操作。

适用于