Share via


UseWebApiParameterConventionsAttribute 類別

定義

指出模型系結系統應該針對控制器動作的參數使用 ASP.NET Web API慣例。 例如,從 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
繼承
UseWebApiParameterConventionsAttribute
屬性
實作

建構函式

UseWebApiParameterConventionsAttribute()

指出模型系結系統應該針對控制器動作的參數使用 ASP.NET Web API慣例。 例如,從 URI 系結簡單類型。

適用於