Rename models builder modes (#10272)

* Renaming AppData Models Builder mode

* Renaming PureLive Models Builder mode to Runtime

* ModelsBuilderAssembly attribute flags if models are "Live" or not

* Updated ModelsMode names

* Only add tag if it is not a pull request. Apparently this is not allowed when it is from a fork.

* Revert "Only add tag if it is not a pull request. Apparently this is not allowed when it is from a fork."

This reverts commit 92b33f3c

Co-authored-by: Bjarke Berg <mail@bergmania.dk>
This commit is contained in:
Callum Whyte
2021-05-26 07:36:21 +01:00
committed by GitHub
parent 0358e2aff7
commit b07f6519e7
21 changed files with 554 additions and 546 deletions

View File

@@ -17,7 +17,7 @@ namespace Umbraco.Cms.Core.Configuration.Models
/// <summary>
/// Gets or sets a value for the models mode.
/// </summary>
public ModelsMode ModelsMode { get; set; } = ModelsMode.PureLive;
public ModelsMode ModelsMode { get; set; } = ModelsMode.InMemoryAuto;
/// <summary>
/// Gets or sets a value for models namespace.
@@ -39,7 +39,7 @@ namespace Umbraco.Cms.Core.Configuration.Models
set
{
if (!ModelsMode.IsLive())
if (!ModelsMode.IsAuto())
{
_flagOutOfDateModels = false;
}