Files
Umbraco-CMS/src/umbraco.interfaces/IDataWithPreview.cs
2012-06-22 20:39:48 +04:00

19 lines
699 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace umbraco.interfaces
{
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; }
}
}