Fluent Assertions Documentation
FluentAssertions.Formatting Namespace / Formatter Class / AddFormatter Method
In This Topic
    AddFormatter Method (Formatter)
    In This Topic
    Ensures a custom formatter is included in the chain, just before the default formatter is executed.
    Syntax
    public static void AddFormatter( 
       IValueFormatter formatter
    )

    Parameters

    formatter
    Remarks
    This method is not thread-safe and should not be invoked 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