IFeatureValueStore.cs 483 B

1234567891011121314151617
  1. using System.Threading.Tasks;
  2. namespace Abp.Application.Features
  3. {
  4. /// <summary>
  5. /// Defines a store to get a feature's value.
  6. /// </summary>
  7. public interface IFeatureValueStore
  8. {
  9. /// <summary>
  10. /// Gets the feature value or null.
  11. /// </summary>
  12. /// <param name="tenantId">The tenant id.</param>
  13. /// <param name="feature">The feature.</param>
  14. Task<string> GetValueOrNullAsync(int tenantId, Feature feature);
  15. }
  16. }