IEventBusConfiguration.cs 566 B

1234567891011121314151617181920
  1. using Abp.Dependency;
  2. using Abp.Events.Bus;
  3. namespace Abp.Configuration.Startup
  4. {
  5. /// <summary>
  6. /// Used to configure <see cref="IEventBus"/>.
  7. /// </summary>
  8. public interface IEventBusConfiguration
  9. {
  10. /// <summary>
  11. /// True, to use <see cref="EventBus.Default"/>.
  12. /// False, to create per <see cref="IIocManager"/>.
  13. /// This is generally set to true. But, for unit tests,
  14. /// it can be set to false.
  15. /// Default: true.
  16. /// </summary>
  17. bool UseDefaultEventBus { get; set; }
  18. }
  19. }