Fluent Assertions Documentation
FluentAssertions.Execution Namespace / AssertionChain Class / AddReportable Method / AddReportable(String,Func<String>) Method
In This Topic
    AddReportable(String,Func<String>) Method
    In This Topic
    Adds some information to the assertion that will be included in the message that is emitted if an assertion fails. The value is only calculated on failure.
    Syntax
    public void AddReportable( 
       string key,
       Func<string> getValue
    )

    Parameters

    key
    getValue
    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