ClickTwiceManagerExtensions.

WithHandlers(ClickTwiceManager, IEnumerable<IHandler>) Method

Summary

Adds multiple input or output handlers to the build pipeline

Syntax

public static ClickTwiceManager WithHandlers(this ClickTwiceManager manager, IEnumerable<IHandler> handlers)

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
handlers IEnumerable<IHandler> A collection of ClickTwice.Publisher.Core.Handlers.IHandler-based handlers to use

Return Value

Type Description
ClickTwiceManager The updated manager