Table of Contents

EnableHandlerDiscovery Method

Definition

Namespace
Savvyio
Assemblies
Savvyio.Core.dll
Source
src/Savvyio.Core/SavvyioOptions.cs

EnableHandlerDiscovery(bool)

Enables discovery of handlers implementing the IHandler interface using assembly scanning.

public SavvyioOptions EnableHandlerDiscovery(bool allowHandlerDiscovery = true)

Parameters

allowHandlerDiscovery bool

true if handlers implementing the IHandler interface are allowed to be discovered using assembly scanning; otherwise, false.

Returns

SavvyioOptions

A reference to this instance so that additional configuration calls can be chained.