AbpBootstrapperOptions.cs 828 B

1234567891011121314151617181920212223242526272829
  1. using Abp.Dependency;
  2. using Abp.PlugIns;
  3. namespace Abp
  4. {
  5. public class AbpBootstrapperOptions
  6. {
  7. /// <summary>
  8. /// Used to disable all interceptors added by ABP.
  9. /// </summary>
  10. public bool DisableAllInterceptors { get; set; }
  11. /// <summary>
  12. /// IIocManager that is used to bootstrap the ABP system. If set to null, uses global <see cref="Abp.Dependency.IocManager.Instance"/>
  13. /// </summary>
  14. public IIocManager IocManager { get; set; }
  15. /// <summary>
  16. /// List of plugin sources.
  17. /// </summary>
  18. public PlugInSourceList PlugInSources { get; }
  19. public AbpBootstrapperOptions()
  20. {
  21. IocManager = Abp.Dependency.IocManager.Instance;
  22. PlugInSources = new PlugInSourceList();
  23. }
  24. }
  25. }