次の方法で共有


ConstraintFactory.Attribute メソッド

定義

オーバーロード

Attribute(Type)

オブジェクトに特定の属性が存在するかどうかを確認する新しい AttributeConstraint を返します。

Attribute<T>()

オブジェクトに特定の属性が存在するかどうかを確認する新しい AttributeConstraint を返します。

Attribute(Type)

オブジェクトに特定の属性が存在するかどうかを確認する新しい AttributeConstraint を返します。

public NUnit.Framework.Constraints.ResolvableConstraintExpression Attribute (Type expectedType);
member this.Attribute : Type -> NUnit.Framework.Constraints.ResolvableConstraintExpression

パラメーター

expectedType
Type

戻り値

適用対象

Attribute<T>()

オブジェクトに特定の属性が存在するかどうかを確認する新しい AttributeConstraint を返します。

public NUnit.Framework.Constraints.ResolvableConstraintExpression Attribute<T> ();
member this.Attribute : unit -> NUnit.Framework.Constraints.ResolvableConstraintExpression

型パラメーター

T

戻り値

適用対象