using System; using System.Collections.Generic; using System.Text; namespace umbraco.interfaces { public interface IDataWithPreview : IData { /// /// Gets or sets a value indicating whether preview mode is switched on. /// In preview mode, the 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. /// /// true if preview mode is switched on; otherwise, false. bool PreviewMode { get; set; } } }