Table of Contents

Class ArrangeFnExtensions

Namespace
Mokkit.Arrange
Assembly
Mokkit.dll

Provides extension methods for arrange function delegates to enable fluent chaining of arrange operations. These extensions allow direct chaining of arrange functions without explicitly creating Mokkit.Arrange.ITestArrange instances.

public static class ArrangeFnExtensions

Inheritance

Inherited Members

Methods

Then(ArrangeAsyncFn, ArrangeAsyncFn)

Chains an asynchronous arrange function with another asynchronous arrange function.

public static ITestArrange Then(this ArrangeAsyncFn arrangeFn, ArrangeAsyncFn thenFn)

Parameters

arrangeFn ArrangeAsyncFn

The first asynchronous arrange function to execute.

thenFn ArrangeAsyncFn

The second asynchronous arrange function to execute after the first.

Returns

ITestArrange

An Mokkit.Arrange.ITestArrange instance that will execute both functions in sequence.

Then(ArrangeAsyncFn, ArrangeFn)

Chains an asynchronous arrange function with a synchronous arrange function.

public static ITestArrange Then(this ArrangeAsyncFn arrangeFn, ArrangeFn thenFn)

Parameters

arrangeFn ArrangeAsyncFn

The first asynchronous arrange function to execute.

thenFn ArrangeFn

The second synchronous arrange function to execute after the first.

Returns

ITestArrange

An Mokkit.Arrange.ITestArrange instance that will execute both functions in sequence.

Then(ArrangeFn, ArrangeAsyncFn)

Chains a synchronous arrange function with an asynchronous arrange function.

public static ITestArrange Then(this ArrangeFn arrangeFn, ArrangeAsyncFn thenFn)

Parameters

arrangeFn ArrangeFn

The first synchronous arrange function to execute.

thenFn ArrangeAsyncFn

The second asynchronous arrange function to execute after the first.

Returns

ITestArrange

An Mokkit.Arrange.ITestArrange instance that will execute both functions in sequence.

Then(ArrangeFn, ArrangeFn)

Chains a synchronous arrange function with another synchronous arrange function.

public static ITestArrange Then(this ArrangeFn arrangeFn, ArrangeFn thenFn)

Parameters

arrangeFn ArrangeFn

The first synchronous arrange function to execute.

thenFn ArrangeFn

The second synchronous arrange function to execute after the first.

Returns

ITestArrange

An Mokkit.Arrange.ITestArrange instance that will execute both functions in sequence.