IVoidActionHandler Interface IVoidActionHandler Interface IVoidActionHandler Interface IVoidActionHandler Interface IVoidActionHandler Interface IVoidActionHandler Interface IVoidActionHandler Interface IVoidActionHandler Interface IVoidActionHandler Interface IVoidActionHandler Interface IVoidActionHandler Interface IVoidActionHandler Interface IVoidActionHandler Interface IVoidActionHandler Interface IVoidActionHandler Interface IVoidActionHandler Interface IVoidActionHandler Interface IVoidActionHandler Interface IVoidActionHandler Interface IVoidActionHandler Interface IVoidActionHandler Interface IVoidActionHandler Interface

IVoidActionHandler Interface

Typemock Isolator Developer Guide
Interface for specifying behavior for a void returning intercepted calls. The interface is returned by WhenCalled(Action) method.

Namespace:  TypeMock.ArrangeActAssert.Fluent
Assembly:  Typemock.ArrangeActAssert (in Typemock.ArrangeActAssert.dll) Version: 9.1.4.0 (9.1.4.0)
Syntax

public interface IVoidActionHandler : IMethodBehavior, 
	IHideObjectMethods

The IVoidActionHandler type exposes the following members.

Methods

  NameDescription
Public methodCode exampleCallOriginal
Specify that an intercepted call will try to execute the real logic of the intercepted instance.
(Inherited from IMethodBehavior.)
Public methodCode exampleDoInstead
Run a custom action instead of the methods in the WhenCalled block.
Public methodCode exampleIgnoreCall
Specify that an intercepted call should be ignored without executing any logic.
Public methodCode exampleWillThrow
Specify that an intercepted call will throw the given exception.
(Inherited from IMethodBehavior.)
Top
Remarks

This interface allow tweaking the behavior of methods which return void.
See Also

Reference