ConstraintExpression.Attribute Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Attribute(Type) |
Returns a new AttributeConstraint checking for the presence of a particular attribute on an object. |
Attribute<T>() |
Returns a new AttributeConstraint checking for the presence of a particular attribute on an object. |
Attribute(Type)
Returns a new AttributeConstraint checking for the presence of a particular attribute on an object.
public NUnit.Framework.Constraints.ResolvableConstraintExpression Attribute (Type expectedType);
member this.Attribute : Type -> NUnit.Framework.Constraints.ResolvableConstraintExpression
Parameters
- expectedType
- Type
Returns
Applies to
Attribute<T>()
Returns a new AttributeConstraint checking for the presence of a particular attribute on an object.
public NUnit.Framework.Constraints.ResolvableConstraintExpression Attribute<T> ();
member this.Attribute : unit -> NUnit.Framework.Constraints.ResolvableConstraintExpression
Type Parameters
- T