namespace Umbraco.Core.PropertyEditors
{
///
/// Specifies the acceptable level of cache for a property value.
///
/// By default, Request is assumed.
public enum PropertyCacheLevel
{
// note: we use the relative values in PublishedPropertyType to ensure that
// object level >= source level
// xpath level >= source level
///
/// Indicates that the property value can be cached at the content level, ie it can be
/// cached until the content itself is modified.
///
Content = 1,
///
/// Indicates that the property value can be cached at the content cache level, ie it can
/// be cached until any content in the cache is modified.
///
ContentCache = 2,
///
/// Indicates that the property value can be cached at the request level, ie it can be
/// cached for the duration of the current request.
///
Request = 3,
///
/// Indicates that the property value cannot be cached and has to be converted any time
/// it is requested.
///
None = 4
}
}