16 lines
402 B
C#
16 lines
402 B
C#
using System.Collections.Generic;
|
|
|
|
namespace Umbraco.Core.Cache
|
|
{
|
|
public interface IRequestCache : IAppCache, IEnumerable<KeyValuePair<string, object>>
|
|
{
|
|
bool Set(string key, object value);
|
|
bool Remove(string key);
|
|
|
|
/// <summary>
|
|
/// Returns true if the request cache is available otherwise false
|
|
/// </summary>
|
|
bool IsAvailable { get; }
|
|
}
|
|
}
|