IMultiTenancyConfig.cs 574 B

1234567891011121314151617181920212223
  1. using System.Collections;
  2. using Abp.Collections;
  3. using Abp.MultiTenancy;
  4. namespace Abp.Configuration.Startup
  5. {
  6. /// <summary>
  7. /// Used to configure multi-tenancy.
  8. /// </summary>
  9. public interface IMultiTenancyConfig
  10. {
  11. /// <summary>
  12. /// Is multi-tenancy enabled?
  13. /// Default value: false.
  14. /// </summary>
  15. bool IsEnabled { get; set; }
  16. /// <summary>
  17. /// A list of contributors for tenant resolve process.
  18. /// </summary>
  19. ITypeList<ITenantResolveContributor> Resolvers { get; }
  20. }
  21. }