Fluent Assertions Documentation
FluentAssertions.Execution Namespace / AssertionScope Class / Name Property
In This Topic
    Name Property (AssertionScope)
    In This Topic
    Gets or sets the name of the current assertion scope, e.g. the path of the object graph that is being asserted on.
    Syntax
    public Func<string> Name {get;}
    Remarks
    The context is provided by a Lazy which only gets evaluated when its value is actually needed (in most cases during a failure).
    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