ApiConventionTypeAttribute(Type) コンストラクター

定義

を使用してインスタンスをApiConventionTypeAttributeconventionType初期化します。

public:
 ApiConventionTypeAttribute(Type ^ conventionType);
public ApiConventionTypeAttribute (Type conventionType);
new Microsoft.AspNetCore.Mvc.ApiConventionTypeAttribute : Type -> Microsoft.AspNetCore.Mvc.ApiConventionTypeAttribute
Public Sub New (conventionType As Type)

パラメーター

conventionType
Type

Type規則の 。

規則は静的型である必要があります。 規則内のメソッドは、 で指定された ApiConventionNameMatchAttribute 規則を使用してアクション メソッドと照合されます。この規則は、メソッド名またはそのパラメーターに適用でき、 ApiConventionTypeMatchAttribute パラメーターに適用されます。

適用対象