<PackageReference Include="NUnit" Version="5.0.0-beta.1" />

NUnit.Framework.Constraints

Namespace with 134 public types

Classes

 AllItemsConstraint
 AllOperator
 AndConstraint
 AndOperator
 AnyOfConstraint
 AssignableFromConstraint
 AssignableFromConstraint`1
 AssignableToConstraint
 AssignableToConstraint`1
 AttributeConstraint
 AttributeExistsConstraint
 AttributeOperator
 CollectionEquivalentConstraint
 CollectionEquivalentConstraintResult
 CollectionOrderedConstraint
 CollectionSubsetConstraint
 CollectionSupersetConstraint
 CollectionTally
 CollectionTallyResult
 ConstraintBuilder
 ConstraintExpression
 ConstraintResult
 ContainsConstraint
 CountZeroConstraint
 DefaultConstraint
 DelayedConstraint
 DictionaryContainsKeyConstraint
 DictionaryContainsKeyValuePairConstraint
 DictionaryContainsValueConstraint
 EmptyCollectionConstraint
 EmptyConstraint
 EmptyDirectoryConstraint
 EmptyGuidConstraint
 EmptyStringConstraint
 EndsWithConstraint
 EqualConstraint
 EqualConstraint`1
 EqualConstraintResult
 EqualDateTimeOffsetConstraint
 EqualDateTimeOffsetConstraintWithSameOffset
 EqualNumericConstraint`1
 EqualNumericWithoutUsingConstraint`1
 EqualStringConstraint
 EqualStringWithoutUsingConstraint
 EqualTimeBaseConstraint`1
 EqualTimeBasedConstraintWithNumericTolerance`1
 EqualTimeBasedConstraintWithTimeSpanTolerance`1
 EqualUsingConstraint`1
 ExactCountConstraint
 ExactCountOperator
 ExactTypeConstraint
 ExactTypeConstraint`1
 ExceptionTypeConstraint
 ExceptionTypeConstraint`1
 FalseConstraint
 FileOrDirectoryExistsConstraint
 GreaterThanConstraint
 GreaterThanOrEqualConstraint
 IndexerConstraint
 IndexerOperator
 InstanceOfTypeConstraint
 InstanceOfTypeConstraint`1
 InsteadOperator
 Interval
 ItemsConstraintExpression
 LessThanConstraint
 LessThanOrEqualConstraint
 MultipleOfConstraint
 NaNConstraint
 NoItemConstraint
 NoneOperator
 NotConstraint
 NotOperator
 NullConstraint
 NUnitComparer
 NUnitEqualityComparer
 OrConstraint
 OrOperator
 PredicateConstraint`1
 PropertiesComparerConfiguration
 PropertiesComparerConfiguration`1
 PropertiesComparerConfigurationUntyped
 PropertyConstraint
 PropertyExistsConstraint
 PropOperator
 RangeConstraint
 RegexConstraint
 ResolvableConstraintExpression
 ReusableConstraint
 SameAsConstraint`1
 SamePathConstraint
 SamePathOrUnderConstraint
 SomeItemsConstraint
 SomeItemsConstraint`1
 SomeOperator
 StartsWithConstraint
 SubPathConstraint
 SubstringConstraint
 ThrowsConstraint
 ThrowsExceptionConstraint
 ThrowsNothingConstraint
 ThrowsOperator
 Tolerance
 TrueConstraint
 UniqueItemsConstraint
 WhiteSpaceConstraint
 WithOperator Represents a constraint that simply wraps the constraint provided as an argument, without any further functionality, but which modifies the order of evaluation because of its precedence.
 XmlSerializableConstraint XmlSerializableConstraint tests whether an object is serializable in XML format.

Enumerations

 ConstraintStatus ConstraintStatus represents the status of a ConstraintResult returned by a Constraint being applied to an actual value.
 ToleranceMode Modes in which the tolerance value for a comparison can be interpreted.

Static Classes

 DateTimes The DateTimes class contains common operations on Date and Time values.

Abstract Classes

 BinaryConstraint BinaryConstraint is the abstract base of all constraints that combine two other constraints in some fashion.
 BinaryOperator Abstract base class for all binary operators
 CollectionConstraint CollectionConstraint is the abstract base class for constraints that operate on collections.
 CollectionItemsEqualConstraint CollectionItemsEqualConstraint is the abstract base class for all collection constraints that apply some notion of item equality as a part of their operation.
 CollectionOperator Abstract base for operators that indicate how to apply a constraint to items in a collection.
 ComparisonAdapter ComparisonAdapter class centralizes all comparisons of values in NUnit, adapting to the use of any provided , or .
 ComparisonConstraint Abstract base class for constraints that compare values to determine if one is greater than, equal to or less than the other.
 Constraint The Constraint class is the base of all built-in constraints within NUnit. It provides the operator overloads used to combine constraints.
 ConstraintOperator The ConstraintOperator class is used internally by a ConstraintBuilder to represent an operator that modifies or combines constraints. Constraint operators use left and right precedence values to determine whether the top operator on the stack should be reduced before pushing a new operator.
 EqualityAdapter EqualityAdapter class handles all equality comparisons that use an , or a .
 MessageWriter MessageWriter is the abstract base for classes that write constraint descriptions and messages in some form. The class has separate methods for writing various components of a message, allowing implementations to tailor the presentation as needed.
 PathConstraint PathConstraint serves as the abstract base of constraints that operate on paths and provides several helper methods.
 PrefixConstraint Abstract base class used for prefixes
 PrefixOperator PrefixOperator takes a single constraint and modifies its action in some way.
 SelfResolvingOperator Abstract base class for operators that are able to reduce to a constraint whether or not another syntactic element follows.
 StringConstraint StringConstraint is the abstract base for constraints that operate on strings. It supports the IgnoreCase modifier for string operations.
 TypeConstraint TypeConstraint is the abstract base for constraints that take a Type as their expected value.
 TypeConstraint`1 TypeConstraint is the abstract base for constraints that take a Type as their expected value.

Interfaces

 IConstraint Interface for all constraints
 IEnumerableConstraint Interface for enumerable constraints
 IResolveConstraint The IResolveConstraint interface is implemented by all complete and resolvable constraints and expressions.