Files
Umbraco-CMS/src/Umbraco.Core/Runtime/IMainDomKeyGenerator.cs
Paul Johnson 860c8e8ae2 Filesystem based MainDomLock & extract interface for MainDomKey generation (#12037)
* Extract MainDomKey generation to its own class to ease customization.

Also add discriminator config value to GlobalSettings for advanced users.
Prevents a mandatory custom implementation, should be good enough for
the vast majority of use cases.

* Prevent duplicate runs of ScheduledPublishing during slot swap.

* Add filesystem based MainDomLock
2022-02-24 10:17:34 +00:00

14 lines
348 B
C#

namespace Umbraco.Cms.Core.Runtime
{
/// <summary>
/// Defines a class which can generate a distinct key for a MainDom boundary.
/// </summary>
public interface IMainDomKeyGenerator
{
/// <summary>
/// Returns a key that signifies a MainDom boundary.
/// </summary>
string GenerateKey();
}
}