Dela via


UseWebApiActionConventionsAttribute Class

Definition

Indicates actions without attribute routes in a controller use ASP.NET Web API routing conventions.

public ref class UseWebApiActionConventionsAttribute : Attribute, Microsoft::AspNetCore::Mvc::WebApiCompatShim::IUseWebApiActionConventions
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)]
public class UseWebApiActionConventionsAttribute : Attribute, Microsoft.AspNetCore.Mvc.WebApiCompatShim.IUseWebApiActionConventions
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)>]
type UseWebApiActionConventionsAttribute = class
    inherit Attribute
    interface IUseWebApiActionConventions
Public Class UseWebApiActionConventionsAttribute
Inherits Attribute
Implements IUseWebApiActionConventions
Inheritance
UseWebApiActionConventionsAttribute
Attributes
Implements

Constructors

UseWebApiActionConventionsAttribute()

Applies to