IFeatureDependencyContext.cs 826 B

1234567891011121314151617181920212223242526272829303132
  1. using Abp.Dependency;
  2. namespace Abp.Application.Features
  3. {
  4. /// <summary>
  5. /// Used in the <see cref="IFeatureDependency.IsSatisfiedAsync"/> method.
  6. /// </summary>
  7. public interface IFeatureDependencyContext
  8. {
  9. /// <summary>
  10. /// Tenant id which requires the feature.
  11. /// Null for current tenant.
  12. /// </summary>
  13. int? TenantId { get; }
  14. /// <summary>
  15. /// Gets the <see cref="IIocResolver"/>.
  16. /// </summary>
  17. /// <value>
  18. /// The ioc resolver.
  19. /// </value>
  20. IIocResolver IocResolver { get; }
  21. /// <summary>
  22. /// Gets the <see cref="IFeatureChecker"/>.
  23. /// </summary>
  24. /// <value>
  25. /// The feature checker.
  26. /// </value>
  27. IFeatureChecker FeatureChecker { get; }
  28. }
  29. }