using System;
using System.Collections.Generic;
using Abp.Configuration.Startup;
namespace Abp.Runtime.Caching.Configuration
{
///
/// Used to configure caching system.
///
public interface ICachingConfiguration
{
///
/// Gets the ABP configuration object.
///
IAbpStartupConfiguration AbpConfiguration { get; }
///
/// List of all registered configurators.
///
IReadOnlyList Configurators { get; }
///
/// Used to configure all caches.
///
///
/// An action to configure caches
/// This action is called for each cache just after created.
///
void ConfigureAll(Action initAction);
///
/// Used to configure a specific cache.
///
/// Cache name
///
/// An action to configure the cache.
/// This action is called just after the cache is created.
///
void Configure(string cacheName, Action initAction);
}
}