UseWebApiParameterConventionsAttribute Sınıf

Tanım

Model bağlama sisteminin bir denetleyicinin eylemlerinin parametreleri için ASP.NET Web API kurallarını kullanması gerektiğini gösterir. Örneğin, URI'den basit türler bağlayın.

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
Devralma
UseWebApiParameterConventionsAttribute
Öznitelikler
Uygulamalar

Oluşturucular

UseWebApiParameterConventionsAttribute()

Model bağlama sisteminin bir denetleyicinin eylemlerinin parametreleri için ASP.NET Web API kurallarını kullanması gerektiğini gösterir. Örneğin, URI'den basit türler bağlayın.

Şunlara uygulanır