Interface ITestInspectScope<T>
- Namespace
- Mokkit.Inspect
- Assembly
- Mokkit.dll
Represents a value-scoped inspect interface that operates on a specific value of type T.
This interface extends Mokkit.Inspect.ITestInspect to provide value-specific inspection operations within a scoped context.
public interface ITestInspectScope<out T> : ITestInspectType Parameters
T-
The type of value being inspected within this scope.
Implements
Extension Methods
Methods
Then(InspectValueAsyncFn<T>)
Chains an asynchronous value-specific inspect function to be executed in sequence. The function will receive the scoped value for inspection.
ITestInspectScope<out T> Then(InspectValueAsyncFn<out T> inspectFn)Parameters
inspectFnInspectValueAsyncFn<T>-
The asynchronous inspect function that operates on the scoped value.
Returns
- ITestInspectScope<T>
-
The current Mokkit.Inspect.ITestInspectScope`1 instance for method chaining.
Then(InspectValueFn<T>)
Chains a synchronous value-specific inspect function to be executed in sequence. The function will receive the scoped value for inspection.
ITestInspectScope<out T> Then(InspectValueFn<out T> inspectFn)Parameters
inspectFnInspectValueFn<T>-
The synchronous inspect function that operates on the scoped value.
Returns
- ITestInspectScope<T>
-
The current Mokkit.Inspect.ITestInspectScope`1 instance for method chaining.