ApiConventionTypeMatchAttribute(ApiConventionTypeMatchBehavior) 构造函数

定义

使用指定的 matchBehavior初始化 的新ApiConventionTypeMatchAttribute实例。

public:
 ApiConventionTypeMatchAttribute(Microsoft::AspNetCore::Mvc::ApiExplorer::ApiConventionTypeMatchBehavior matchBehavior);
public ApiConventionTypeMatchAttribute (Microsoft.AspNetCore.Mvc.ApiExplorer.ApiConventionTypeMatchBehavior matchBehavior);
new Microsoft.AspNetCore.Mvc.ApiExplorer.ApiConventionTypeMatchAttribute : Microsoft.AspNetCore.Mvc.ApiExplorer.ApiConventionTypeMatchBehavior -> Microsoft.AspNetCore.Mvc.ApiExplorer.ApiConventionTypeMatchAttribute
Public Sub New (matchBehavior As ApiConventionTypeMatchBehavior)

参数

适用于