Fluent Assertions Documentation
FluentAssertions Namespace / AssertionExtensions Class / ExecutionTimeOf<T> Method
The object that exposes the method or property.
A reference to the method or property to measure the execution time of.
In This Topic
    ExecutionTimeOf<T> Method
    In This Topic
    Provides methods for asserting the execution time of a method or property.
    Syntax

    Parameters

    subject
    The object that exposes the method or property.
    action
    A reference to the method or property to measure the execution time of.
    createTimer

    Type Parameters

    T

    Return Value

    Returns an object for asserting that the execution time matches certain conditions.
    Exceptions
    ExceptionDescription
    subject is a null reference (Nothing in Visual Basic).
    action 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