<PackageReference Include="NUnit" Version="4.3.1" />

EqualDateTimeOffsetConstraint

EqualConstraint is able to compare an actual value with the expected value provided in its constructor. Two objects are considered equal if both are null, or if both have the same value. NUnit has special semantics for some object types.

Flags the constraint to include Offset property in comparison of two DateTimeOffset values.

Initializes a new instance of the EqualConstraint class.