ICacheConfigurator.cs 537 B

123456789101112131415161718192021
  1. using System;
  2. namespace Abp.Runtime.Caching.Configuration
  3. {
  4. /// <summary>
  5. /// A registered cache configurator.
  6. /// </summary>
  7. public interface ICacheConfigurator
  8. {
  9. /// <summary>
  10. /// Name of the cache.
  11. /// It will be null if this configurator configures all caches.
  12. /// </summary>
  13. string CacheName { get; }
  14. /// <summary>
  15. /// Configuration action. Called just after the cache is created.
  16. /// </summary>
  17. Action<ICache> InitAction { get; }
  18. }
  19. }