Registers an action to perform before all other actions currently in the chain.

Namespace:  Gallio.Common
Assembly:  Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.610.0)

Syntax

C#
public void Before(
	Action<T1, T2> action
)
Visual Basic (Declaration)
Public Sub Before ( _
	action As Action(Of T1, T2) _
)

Parameters

action
Type: Gallio.Common..::.Action<(Of <(T1, T2>)>)
The action to register.

Remarks

The value of Action will be set to a new instance that performs the specified action before the current Action.

Exceptions

ExceptionCondition
System..::.ArgumentNullExceptionThrown if action is null.

See Also