namespace Umbraco.ModelsBuilder.Embedded.Configuration
{
///
/// Defines the models generation modes.
///
public enum ModelsMode
{
///
/// Do not generate models.
///
Nothing = 0, // default value
///
/// Generate models in memory.
/// When: a content type change occurs.
///
/// The app does not restart. Models are available in views exclusively.
PureLive,
///
/// Generate models in AppData.
/// When: generation is triggered.
///
/// Generation can be triggered from the dashboard. The app does not restart.
/// Models are not compiled and thus are not available to the project.
AppData,
///
/// Generate models in AppData.
/// When: a content type change occurs, or generation is triggered.
///
/// Generation can be triggered from the dashboard. The app does not restart.
/// Models are not compiled and thus are not available to the project.
LiveAppData
}
}