

public interface IEquivalencyOptions
| Name | Description | |
|---|---|---|
![]() | AllowInfiniteRecursion | Gets a value indicating whether recursion is allowed to continue indefinitely. |
![]() | CompareRecordsByValue | Gets a value indicating whether records should be compared by value instead of their members |
![]() | ConversionSelector | Contains the rules for what properties to run an auto-conversion. |
![]() | CyclicReferenceHandling | Gets value indicating how cyclic references should be handled. By default, it will throw an exception. |
![]() | EnumEquivalencyHandling | Gets value indicating how the enums should be compared. |
![]() | ExcludeNonBrowsableOnExpectation | Gets a value indicating whether members on the expectation marked with [System.ComponentModel.EditorBrowsableAttribute] and System.ComponentModel.EditorBrowsableState.Never should be excluded. |
![]() | IgnoreCase | Gets a value indicating whether a case-insensitive comparer is used when comparing strings. |
![]() | IgnoreLeadingWhitespace | Gets a value indicating whether leading whitespace is ignored when comparing strings. |
![]() | IgnoreNonBrowsableOnSubject | Gets a value indicating whether members on the subject marked with [System.ComponentModel.EditorBrowsableAttribute] and System.ComponentModel.EditorBrowsableState.Never should be treated as though they don't exist. |
![]() | IgnoreTrailingWhitespace | Gets a value indicating whether trailing whitespace is ignored when comparing strings. |
![]() | IncludedFields | Gets a value indicating whether and which fields should be considered. |
![]() | IncludedProperties | Gets a value indicating whether and which properties should be considered. |
![]() | IncludeFullStringsInDifference | Gets a value indicating whether the differences between string properties should include the full values of the subject and expectation instead of just the fragment that differs. |
![]() | IsRecursive | Gets a value indicating whether or not the assertion must perform a deep comparison. |
![]() | MatchingRules | Gets an ordered collection of matching rules that determine which subject members are matched with which expectation properties. |
![]() | OrderingRules | Gets an ordered collection of rules that determine whether or not the order of collections is important. By default, ordering is irrelevant. |
![]() | SelectionRules | Gets an ordered collection of selection rules that define what members (e.g. properties or fields) are included. |
![]() | TraceWriter | Gets the currently configured tracer, or a null reference (Nothing in Visual Basic) if no tracing was configured. |
![]() | UserEquivalencySteps | Gets an ordered collection of Equivalency steps how a subject is compared with the expectation. |
![]() | UseRuntimeTyping | Gets a value indicating whether the runtime type of the expectation should be used rather than the declared type. |
| Name | Description | |
|---|---|---|
![]() | GetEqualityStrategy | Determines the right strategy for evaluating the equality of objects of this type. |
.NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.
.NET Standard: netstandard2.0, netstandard2.1.
.NET Framework: net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.