UseWebApiOverloadingAttribute Klasa

Definicja

Wskazuje akcje w kontrolerze powinny być zaznaczone tylko wtedy, gdy wszystkie parametry inne niż opcjonalne są spełnione. Stosuje element OverloadActionConstraint do wszystkich akcji w kontrolerze.

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
Dziedziczenie
UseWebApiOverloadingAttribute
Atrybuty
Implementuje

Konstruktory

UseWebApiOverloadingAttribute()

Wskazuje akcje w kontrolerze powinny być zaznaczone tylko wtedy, gdy wszystkie parametry inne niż opcjonalne są spełnione. Stosuje element OverloadActionConstraint do wszystkich akcji w kontrolerze.

Dotyczy