ConstraintFactory.Property(String) Method

Definition

Returns a new PropertyConstraintExpression, which will either test for the existence of the named property on the object being tested or apply any following constraint to that property.

public NUnit.Framework.Constraints.ResolvableConstraintExpression Property (string name);
member this.Property : string -> NUnit.Framework.Constraints.ResolvableConstraintExpression

Parameters

name
String

Returns

ResolvableConstraintExpression

Applies to