[Extension()] public static MemberExecutionTime<T> ExecutionTimeOf<T>( T subject, Expression<Action<T>> action, StartTimer createTimer )
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.