Share via


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)

參數

適用於