ClickTwiceManagerExtensions.

WithHandler(ClickTwiceManager, IHandler) Method

Summary

Adds an input or output handler to the build pipeline

Syntax

public static ClickTwiceManager WithHandler(this ClickTwiceManager manager, IHandler handler)

Remarks

If a given object implements both ClickTwice.Publisher.Core.Handlers.IInputHandler and ClickTwice.Publisher.Core.Handlers.IOutputHandler it will be added to both stages of the build pipeline

Parameters

Name Type Description
manager ClickTwiceManager The manager
handler IHandler The handler (ClickTwice.Publisher.Core.Handlers.IInputHandler or ClickTwice.Publisher.Core.Handlers.IOutputHandler) to use

Return Value

Type Description
ClickTwiceManager The updated manager