SettingScope.cs 823 B

1234567891011121314151617181920212223242526272829303132
  1. using System;
  2. namespace Abp.Configuration
  3. {
  4. /// <summary>
  5. /// Defines scope of a setting.
  6. /// </summary>
  7. [Flags]
  8. public enum SettingScopes
  9. {
  10. /// <summary>
  11. /// Represents a setting that can be configured/changed for the application level.
  12. /// </summary>
  13. Application = 1,
  14. /// <summary>
  15. /// Represents a setting that can be configured/changed for each Tenant.
  16. /// This is reserved
  17. /// </summary>
  18. Tenant = 2,
  19. /// <summary>
  20. /// Represents a setting that can be configured/changed for each User.
  21. /// </summary>
  22. User = 4,
  23. /// <summary>
  24. /// Represents a setting that can be configured/changed for all levels
  25. /// </summary>
  26. All = Application | Tenant | User
  27. }
  28. }