Fluent Assertions Documentation
FluentAssertions.Extensions Namespace / OccurrenceConstraintExtensions Class / TimesExactly Method
In This Topic
    TimesExactly Method
    In This Topic
    This is the equivalent to FluentAssertions.Exactly.Times
    Syntax
    [Extension()]
    public static OccurrenceConstraint TimesExactly( 
       int times
    )

    Parameters

    times
    Exceptions
    ExceptionDescription
    times is less than zero.
    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