Fluent Assertions Documentation
FluentAssertions.Extensions Namespace / FluentTimeSpanExtensions Class / And Method
In This Topic
    And Method
    In This Topic
    Convenience method for chaining multiple calls to the methods provided by this class.
    Syntax
    [Extension()]
    public static TimeSpan And( 
       TimeSpan sourceTime,
       TimeSpan offset
    )

    Parameters

    sourceTime
    offset
    Example
    23.Hours().And(59.Minutes())
    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