2019-02-21 19:06:41 +01:00
|
|
|
|
namespace Umbraco.Core.Models.PublishedContent
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Provides a live published model creation service.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public interface ILivePublishedModelFactory : IPublishedModelFactory
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Gets an object that can be used to synchronize access to the factory.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
object SyncRoot { get; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Refreshes the factory.
|
|
|
|
|
|
/// </summary>
|
2019-07-03 15:17:51 +10:00
|
|
|
|
/// <remarks>
|
|
|
|
|
|
/// <para>This will typically re-compiled models/classes into a new DLL that are used to populate the cache.</para>
|
|
|
|
|
|
/// <para>This is called prior to refreshing the cache.</para>
|
|
|
|
|
|
/// </remarks>
|
2019-02-21 19:06:41 +01:00
|
|
|
|
void Refresh();
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|