namespace Umbraco.Cms.Core.Configuration
{
///
/// Defines the models generation modes.
///
public enum ModelsMode
{
///
/// Do not generate strongly typed models.
///
///
/// This means that only IPublishedContent instances will be used.
///
Nothing = 0,
///
/// Generate models in memory.
/// When: a content type change occurs.
///
/// The app does not restart. Models are available in views exclusively.
InMemoryAuto,
///
/// Generate models as *.cs files.
/// 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.
SourceCodeManual,
///
/// Generate models as *.cs files.
/// 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.
SourceCodeAuto
}
}