Files
Umbraco-CMS/src/Umbraco.ModelsBuilder.Embedded/Configuration/ModelsMode.cs

37 lines
1.2 KiB
C#
Raw Normal View History

namespace Umbraco.ModelsBuilder.Embedded.Configuration
2019-06-24 11:58:36 +02:00
{
/// <summary>
/// Defines the models generation modes.
/// </summary>
public enum ModelsMode
{
/// <summary>
/// Do not generate models.
/// </summary>
2019-10-29 11:02:18 +11:00
Nothing = 0, // default value
2019-06-24 11:58:36 +02:00
/// <summary>
/// Generate models in memory.
/// When: a content type change occurs.
/// </summary>
/// <remarks>The app does not restart. Models are available in views exclusively.</remarks>
PureLive,
/// <summary>
/// Generate models in AppData.
/// When: generation is triggered.
/// </summary>
/// <remarks>Generation can be triggered from the dashboard. The app does not restart.
/// Models are not compiled and thus are not available to the project.</remarks>
AppData,
/// <summary>
/// Generate models in AppData.
/// When: a content type change occurs, or generation is triggered.
/// </summary>
/// <remarks>Generation can be triggered from the dashboard. The app does not restart.
/// Models are not compiled and thus are not available to the project.</remarks>
LiveAppData
}
}