
public class EquivalencyOptions : FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>, IEquivalencyOptions
System.Object
FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<TSelf>
FluentAssertions.Equivalency.EquivalencyOptions
Name | Description | |
---|---|---|
![]() | EquivalencyOptions Constructor |
Name | Description | |
---|---|---|
![]() | OrderingRules | (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
Name | Description | |
---|---|---|
![]() | AllowingInfiniteRecursion | Disables limitations on recursion depth when the structural equality check is configured to include nested objects (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
![]() | ComparingByMembers | Overloaded. Marks the T as a type that should be compared by its members even though it may override the System.Object.Equals(System.Object) method. (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
![]() | ComparingByValue | Overloaded. Marks the T as a value type which must be compared using its System.Object.Equals(System.Object) method, regardless of it overriding it or not. (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
![]() | ComparingEnumsByName | Causes to compare Enum properties using the result of their ToString method. (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
![]() | ComparingEnumsByValue | Causes to compare Enum members using their underlying value only. (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
![]() | ComparingRecordsByMembers | Ensures records by default are compared by their members even though they override the System.Object.Equals(System.Object) method. (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
![]() | ComparingRecordsByValue | Ensures records by default are compared by value instead of their members. (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
![]() | Excluding | Excludes a (nested) property based on a predicate from the structural equality check. (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
![]() | ExcludingExplicitlyImplementedProperties | Excludes properties that are explicitly implemented from the equivalency comparison. (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
![]() | ExcludingFields | Instructs the comparison to exclude fields. (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
![]() | ExcludingMembersNamed | Excludes the specified member(s) from the structural equality check anywhere in the object graph. (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
![]() | ExcludingMissingMembers | Tries to match the members of the expectation with equally named members on the subject. Ignores those members that don't exist on the subject and previously registered matching rules. (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
![]() | ExcludingNonBrowsableMembers | Instructs the comparison to exclude non-browsable members in the expectation (members set to System.ComponentModel.EditorBrowsableState.Never). It is not required that they be marked non-browsable in the subject. Use SelfReferenceEquivalencyOptions<TSelf>.IgnoringNonBrowsableMembersOnSubject to ignore non-browsable members in the subject. (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
![]() | ExcludingProperties | Instructs the comparison to exclude properties. (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
![]() | IgnoringCase | Instructs the comparison to compare strings case-insensitive. (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
![]() | IgnoringCyclicReferences | Causes the structural equality check to ignore any cyclic references. (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
![]() | IgnoringLeadingWhitespace | Instructs the comparison to ignore leading whitespace when comparing strings. (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
![]() | IgnoringNewlineStyle | Instructs the comparison to ignore the newline style when comparing strings. (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
![]() | IgnoringNonBrowsableMembersOnSubject | Instructs the comparison to treat non-browsable members in the subject as though they do not exist. If you need to ignore non-browsable members in the expectation, use SelfReferenceEquivalencyOptions<TSelf>.ExcludingNonBrowsableMembers. (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
![]() | IgnoringTrailingWhitespace | Instructs the comparison to ignore trailing whitespace when comparing strings. (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
![]() | Including | Includes the specified member in the equality check. (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
![]() | IncludingAllDeclaredProperties | Causes inclusion of only public properties of the subject as far as they are defined on the declared type. (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
![]() | IncludingAllRuntimeProperties | Causes inclusion of only public properties of the subject based on its run-time type rather than its declared type. (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
![]() | IncludingFields | Instructs the comparison to include public fields. (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
![]() | IncludingInternalFields | Instructs the comparison to include public and internal fields. (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
![]() | IncludingInternalProperties | Instructs the comparison to include public and internal properties. (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
![]() | IncludingNestedObjects | Causes the structural equality comparison to recursively traverse the object graph and compare the fields and properties of any nested objects and objects in collections. (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
![]() | IncludingProperties | Instructs the comparison to include public properties. (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
![]() | PreferringDeclaredMemberTypes | Instructs the structural equality comparison to prefer the declared types of the members when executing assertions. (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
![]() | PreferringRuntimeMemberTypes | Instructs the structural equality comparison to use the run-time types of the members to drive the assertion. (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
![]() | ThrowingOnMissingMembers | Requires the subject to have members which are equally named to members on the expectation. (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
![]() | ToString | Returns a string that represents the current object. (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
![]() | Using | Overloaded. Overrides the comparison of subject and expectation to use provided action when the predicate is met. (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
![]() | WithAutoConversion | Instructs the equivalency comparison to try to convert the values of matching properties before running any of the other steps. (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
![]() | WithAutoConversionFor | Instructs the equivalency comparison to try to convert the value of a specific member on the expectation object before running any of the other steps. (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
![]() | WithoutAutoConversionFor | Instructs the equivalency comparison to prevent trying to convert the value of a specific member on the expectation object before running any of the other steps. (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
![]() | WithoutMatchingRules | Clears all matching rules, including those that were added by default. (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
![]() | WithoutRecursing | Stops the structural equality check from recursively comparing the members of any nested objects. (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
![]() | WithoutSelectionRules | Clears all selection rules, including those that were added by default. (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
![]() | WithoutStrictOrdering | Causes all collections - except bytes - to be compared ignoring the order in which the items appear in the expectation. (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
![]() | WithoutStrictOrderingFor | Causes the collection identified by the provided predicate to be compared ignoring the order in which the items appear in the expectation. (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
![]() | WithoutStrictTyping | Disables the strict typing requirement for all members, allowing members in the expectation to be of different types than members in the subject. (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
![]() | WithStrictOrdering | Causes all collections to be compared in the order in which the items appear in the expectation. (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
![]() | WithStrictOrderingFor | Causes the collection identified by the provided predicate to be compared in the order in which the items appear in the expectation. (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
![]() | WithStrictTyping | Causes all type comparisons to be strict, requiring exact type equality between subject and expectation. (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
![]() | WithStrictTypingFor | Causes the types identified by the provided predicate to be compared using strict typing, requiring exact type equality. (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
![]() | WithTracing | Enables tracing the steps the equivalency validation followed to compare two graphs. (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
Name | Description | |
---|---|---|
![]() | AddMatchingRule | (Inherited from FluentAssertions.Equivalency.SelfReferenceEquivalencyOptions<EquivalencyOptions>) |
Name | Description | |
---|---|---|
![]() | As<TTo> | Safely casts the specified object to the type specified through TTo. |
![]() | Awaiting | Overloaded. Invokes the specified action on a subject so that you can chain it with any of the assertions from FluentAssertions.Specialized.NonGenericAsyncFunctionAssertions |
![]() | Enumerating | Overloaded. Forces enumerating a collection. Should be used to assert that a method that uses the yield keyword throws a particular exception. |
![]() | ExecutionTimeOf<T> | Provides methods for asserting the execution time of a method or property. |
![]() | Invoking | Overloaded. Invokes the specified action on a subject so that you can chain it with any of the assertions from FluentAssertions.Specialized.ActionAssertions |
![]() | Monitor | Overloaded. Starts monitoring eventSource for its events. |
![]() | Should | Overloaded. Returns an FluentAssertions.Specialized.ExecutionTimeAssertions object that can be used to assert the current FluentAssertions.Specialized.ExecutionTime. |
![]() | Should | Overloaded. Returns an FluentAssertions.Primitives.EnumAssertions<TEnum,TAssertions> object that can be used to assert the current TEnum. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2