Files
Umbraco-CMS/src/Umbraco.Core/Cache/IRequestCache.cs

16 lines
408 B
C#
Raw Normal View History

using System.Collections.Generic;
namespace Umbraco.Cms.Core.Cache
{
public interface IRequestCache : IAppCache, IEnumerable<KeyValuePair<string, object?>>
{
2022-01-21 11:43:58 +01:00
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; }
}
}