UseWebApiParameterConventionsAttribute Třída
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Určuje, že systém vázání modelů má použít konvence webového rozhraní API ASP.NET pro parametry akcí kontroleru. Například svažte jednoduché typy z identifikátoru URI.
public ref class UseWebApiParameterConventionsAttribute : Attribute, Microsoft::AspNetCore::Mvc::WebApiCompatShim::IUseWebApiParameterConventions
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)]
public class UseWebApiParameterConventionsAttribute : Attribute, Microsoft.AspNetCore.Mvc.WebApiCompatShim.IUseWebApiParameterConventions
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)>]
type UseWebApiParameterConventionsAttribute = class
inherit Attribute
interface IUseWebApiParameterConventions
Public Class UseWebApiParameterConventionsAttribute
Inherits Attribute
Implements IUseWebApiParameterConventions
- Dědičnost
-
UseWebApiParameterConventionsAttribute
- Atributy
- Implementuje
Konstruktory
| UseWebApiParameterConventionsAttribute() |