Files
Umbraco-CMS/src/umbraco.interfaces/IDataWithPreview.cs
2018-11-22 14:05:51 +00:00

20 lines
819 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace umbraco.interfaces
{
[Obsolete("IDataType is obsolete and is no longer used, it will be removed from the codebase in future versions")]
public interface IDataWithPreview : IData
{
/// <summary>
/// Gets or sets a value indicating whether preview mode is switched on.
/// In preview mode, the <see cref="Value"/> setter saves to a temporary location
/// instead of persistent storage, which the getter also reads from on subsequent access.
/// Switching off preview mode restores the persistent value.
/// </summary>
/// <value><c>true</c> if preview mode is switched on; otherwise, <c>false</c>.</value>
bool PreviewMode { get; set; }
}
}