Added configuration validation for models builder and hosting settings.

Renamed models builder config class suffix to match others.
This commit is contained in:
Andy Butland
2020-09-18 12:53:10 +02:00
parent eb62789b68
commit b9e67dde55
31 changed files with 171 additions and 59 deletions

View File

@@ -10,7 +10,7 @@ namespace Umbraco.Core.Configuration
{
private static string _modelsDirectoryAbsolute = null;
public static string ModelsDirectoryAbsolute(this ModelsBuilderConfig modelsBuilderConfig, IHostingEnvironment hostingEnvironment)
public static string ModelsDirectoryAbsolute(this ModelsBuilderSettings modelsBuilderConfig, IHostingEnvironment hostingEnvironment)
{
if (_modelsDirectoryAbsolute is null)
{