Fluent Assertions Documentation
FluentAssertions.Execution Namespace / AssertionScope Class / AssertionScope Constructor / AssertionScope Constructor(IAssertionStrategy)
The assertion strategy for this scope.
In This Topic
    AssertionScope Constructor(IAssertionStrategy)
    In This Topic
    Starts a new scope based on the given assertion strategy.
    Syntax
    public AssertionScope( 
       IAssertionStrategy assertionStrategy
    )

    Parameters

    assertionStrategy
    The assertion strategy for this scope.
    Exceptions
    ExceptionDescription
    assertionStrategy is a null reference (Nothing in Visual Basic).
    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