Sdílet prostřednictvím


UseWebApiOverloadingAttribute Třída

Definice

Označuje, že akce v kontroleru by měly být vybrány pouze v případě, že jsou splněny všechny nepovinné parametry. Použije na OverloadActionConstraint všechny akce v kontroleru.

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
Dědičnost
UseWebApiOverloadingAttribute
Atributy
Implementuje

Konstruktory

UseWebApiOverloadingAttribute()

Označuje, že akce v kontroleru by měly být vybrány pouze v případě, že jsou splněny všechny nepovinné parametry. Použije na OverloadActionConstraint všechny akce v kontroleru.

Platí pro