UseAutomaticDispatcherDiscovery Method
Definition
- Namespace
- Savvyio.Extensions
- Assemblies
- Savvyio.Extensions.Dispatchers.dll
UseAutomaticDispatcherDiscovery(SavvyioOptions, bool)
Enforce automatic discovery of handlers implementing the IDispatcher interface using either bruteAssemblyScanning or lightweight GetCallingAssembly().
public static SavvyioOptions UseAutomaticDispatcherDiscovery(this SavvyioOptions options, bool bruteAssemblyScanning = false)
Parameters
optionsSavvyioOptionsThe SavvyioOptions to extend.
bruteAssemblyScanningbooltrueto use brute assembly scanning for all IDispatcher interface implementations throughout the application domain; otherwise,false.
Returns
- SavvyioOptions
A reference to
optionsso that additional configuration calls can be chained.