Implements a basic version of the MacroService for U4-940
Adding a static ServiceFactory class for easy access to the various services in a non-singleton way. Adding a Resolver for MacroPropertyTypes. Updating the CoreBootManager and PluginManager to include the MacroPropertyTypeResolver.
This commit is contained in:
@@ -6,11 +6,14 @@ using Umbraco.Core.Persistence.UnitOfWork;
|
||||
|
||||
namespace Umbraco.Web.Services
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents the File Service, which is an easy access to operations involving <see cref="IFile"/> objects like Scripts, Stylesheets and Templates
|
||||
/// </summary>
|
||||
public class FileService : IFileService
|
||||
{
|
||||
private readonly IUnitOfWorkProvider _provider;
|
||||
|
||||
public FileService() : this(new PetaPocoUnitOfWorkProvider())
|
||||
public FileService() : this(new FileUnitOfWorkProvider())
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user