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:
sitereactor
2012-10-30 09:25:28 -01:00
parent 9306fd0b5c
commit 347bf3fabf
13 changed files with 292 additions and 6 deletions

View File

@@ -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())
{
}