namespace Umbraco.Core.Models.PublishedContent
{
///
/// Provides a live published model creation service.
///
public interface ILivePublishedModelFactory : IPublishedModelFactory
{
///
/// Gets an object that can be used to synchronize access to the factory.
///
object SyncRoot { get; }
///
/// Refreshes the factory.
///
///
/// This will typically re-compiled models/classes into a new DLL that are used to populate the cache.
/// This is called prior to refreshing the cache.
///
void Refresh();
///
/// Tells the factory that it should build a new generation of models
///
void Reset();
///
/// If the live model factory
///
bool Enabled { get; }
}
}