Migrating classes to Web.Common proj

This commit is contained in:
Elitsa Marinovska
2021-02-18 08:26:08 +01:00
parent 570d19f298
commit 74a67bf8bc
3 changed files with 5 additions and 6 deletions

View File

@@ -10,7 +10,6 @@ using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using Microsoft.AspNetCore.Mvc.ApplicationParts;
using Microsoft.CodeAnalysis;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Umbraco.Core;
@@ -19,10 +18,10 @@ using Umbraco.Core.Configuration.Models;
using Umbraco.Core.Hosting;
using Umbraco.Core.Logging;
using Umbraco.Core.Models.PublishedContent;
using Umbraco.ModelsBuilder.Embedded.Building;
using File = System.IO.File;
using Umbraco.Infrastructure.ModelsBuilder;
using Umbraco.Infrastructure.ModelsBuilder.Building;
namespace Umbraco.ModelsBuilder.Embedded
namespace Umbraco.Web.Common.ModelsBuilder
{
internal class PureLiveModelFactory : ILivePublishedModelFactory, IRegisteredObject
{

View File

@@ -60,7 +60,7 @@ using Microsoft.AspNetCore.Mvc.ViewEngines;
* graph includes all of the above mentioned services, all the way up to the RazorProjectEngine and it's LazyMetadataReferenceFeature.
*/
namespace Umbraco.ModelsBuilder.Embedded
namespace Umbraco.Web.Common.ModelsBuilder
{
/// <summary>
/// Custom <see cref="IRazorViewEngine"/> that wraps aspnetcore's default implementation

View File

@@ -1,7 +1,7 @@
using System.Reflection;
using System.Runtime.Loader;
namespace Umbraco.ModelsBuilder.Embedded
namespace Umbraco.Web.Common.ModelsBuilder
{
internal class UmbracoAssemblyLoadContext : AssemblyLoadContext
{