Files
Umbraco-CMS/umbraco/interfaces/IDataWithPreview.cs
Shandem f6d0d043b5 DO NOT DOWNLOAD. DOWNLOAT LATEST STABLE FROM RELEASE TAB
Created 4.1.0 branch

[TFS Changeset #55082]
2009-06-19 07:39:16 +00: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; }
}
}