Class SavvyioOptionsExtensions
Extension methods for the SavvyioOptions class.
public static class SavvyioOptionsExtensions
  - Inheritance
 - 
      objectSavvyioOptionsExtensions
 
Methods
AddCommandDispatcher(SavvyioOptions)
Adds a default implementation of the ICommandDispatcher interface.
public static SavvyioOptions AddCommandDispatcher(this SavvyioOptions options)
  Parameters
optionsSavvyioOptionsThe SavvyioOptions to extend.
Returns
- SavvyioOptions
 A reference to
optionsso that additional configuration calls can be chained.
AddCommandHandler<TImplementation>(SavvyioOptions)
Adds an implementation of the ICommandHandler interface to HandlerImplementationTypes (if not already registered).
public static SavvyioOptions AddCommandHandler<TImplementation>(this SavvyioOptions options) where TImplementation : class, ICommandHandler
  Parameters
optionsSavvyioOptionsThe SavvyioOptions to extend.
Returns
- SavvyioOptions
 A reference to
optionsso that additional configuration calls can be chained.
Type Parameters
TImplementationThe type that implements the ICommandHandler interface.