Files
Umbraco-CMS/src/Umbraco.Core/Cache/IRequestCache.cs
2020-02-24 08:21:53 +01:00

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; }
}
}