ConventionalRegistrationConfig.cs 751 B

12345678910111213141516171819202122232425
  1. using Abp.Configuration;
  2. using Castle.DynamicProxy;
  3. namespace Abp.Dependency
  4. {
  5. /// <summary>
  6. /// This class is used to pass configuration/options while registering classes in conventional way.
  7. /// </summary>
  8. public class ConventionalRegistrationConfig : DictionaryBasedConfig
  9. {
  10. /// <summary>
  11. /// Install all <see cref="IInterceptor"/> implementations automatically or not.
  12. /// Default: true.
  13. /// </summary>
  14. public bool InstallInstallers { get; set; }
  15. /// <summary>
  16. /// Creates a new <see cref="ConventionalRegistrationConfig"/> object.
  17. /// </summary>
  18. public ConventionalRegistrationConfig()
  19. {
  20. InstallInstallers = true;
  21. }
  22. }
  23. }