Interface ITestInspectScopeWithContext<T, TContext>
- Namespace
- Mokkit.Inspect
- Assembly
- Mokkit.dll
Represents a value-scoped inspect interface that operates on a specific value of type T with additional context of type TContext.
This interface extends Mokkit.Inspect.ITestInspect to provide value-specific inspection operations with contextual information within a scoped context.
public interface ITestInspectScopeWithContext<out T, out TContext> : ITestInspectType Parameters
T-
The type of value being inspected within this scope.
TContext-
The type of context object that provides additional information for the inspection.
Implements
Extension Methods
Methods
Then(InspectValueWithContextAsyncFn<T, TContext>)
Chains an asynchronous value-specific inspect function with context to be executed in sequence. The function will receive both the scoped value and context for inspection.
ITestInspectScopeWithContext<out T, out TContext> Then(InspectValueWithContextAsyncFn<out T, out TContext> inspectFn)Parameters
inspectFnInspectValueWithContextAsyncFn<T, TContext>-
The asynchronous inspect function that operates on the scoped value and context.
Returns
- ITestInspectScopeWithContext<T, TContext>
-
The current Mokkit.Inspect.ITestInspectScopeWithContext`2 instance for method chaining.
Then(InspectValueWithContextFn<T, TContext>)
Chains a synchronous value-specific inspect function with context to be executed in sequence. The function will receive both the scoped value and context for inspection.
ITestInspectScopeWithContext<out T, out TContext> Then(InspectValueWithContextFn<out T, out TContext> inspectFn)Parameters
inspectFnInspectValueWithContextFn<T, TContext>-
The synchronous inspect function that operates on the scoped value and context.
Returns
- ITestInspectScopeWithContext<T, TContext>
-
The current Mokkit.Inspect.ITestInspectScopeWithContext`2 instance for method chaining.