Table of Contents

Class WithinTimeBudgetCapturingAssertionExtensions

Namespace
TUnit.Assertions.Extensions
Assembly
TimeAssertions.TUnit.dll

Generated extension methods for WithinTimeBudgetCapturingAssertion.

public static class WithinTimeBudgetCapturingAssertionExtensions
Inheritance
WithinTimeBudgetCapturingAssertionExtensions
Inherited Members

Methods

WithinTimeBudgetCapturing<T>(IAssertionSource<T>, TimeSpan, Action<TimeSpan>, string?, string?)

Extension method for WithinTimeBudgetCapturingAssertion.

public static WithinTimeBudgetCapturingAssertion<T> WithinTimeBudgetCapturing<T>(this IAssertionSource<T> source, TimeSpan budget, Action<TimeSpan> capture, string? budgetExpression = null, string? captureExpression = null)

Parameters

source IAssertionSource<T>
budget TimeSpan
capture Action<TimeSpan>
budgetExpression string
captureExpression string

Returns

WithinTimeBudgetCapturingAssertion<T>

Type Parameters

T