TestExecutorExtensions.

UseRuntime(TestExecutor, Func<RuntimeContext, Func<Task>, Task>) Method

Syntax

public static TestExecutor UseRuntime(this TestExecutor app, Func<RuntimeContext, Func<Task>, Task> middleware)

Parameters

Name Type Description
app TestExecutor
middleware Func<RuntimeContext, Func<Task>, Task>

Return Value

Type Description
TestExecutor