EnableHandlerDiscovery Method
Definition
EnableHandlerDiscovery(bool)
Enables discovery of handlers implementing the IHandler interface using assembly scanning.
public SavvyioOptions EnableHandlerDiscovery(bool allowHandlerDiscovery = true)
Parameters
allowHandlerDiscoverybooltrueif 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.