Fluent Assertions Documentation
FluentAssertions.Equivalency Namespace / EquivalencyPlan Class / Add<TStep> Method
In This Topic
    Add<TStep> Method (EquivalencyPlan)
    In This Topic
    Adds a new IEquivalencyStep after any of the built-in steps, with the exception of the final FluentAssertions.Equivalency.Steps.SimpleEqualityEquivalencyStep.
    Syntax
    public void Add<TStep>()
    where TStep: new(), IEquivalencyStep

    Type Parameters

    TStep
    Remarks
    This method is not thread-safe and should not be modified through FluentAssertions.AssertionConfiguration from within a unit test. See the docs on how to safely use it.
    Requirements

    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

    See Also