Moved application logic into Core which are now 'Sections'. Have proxied all calls from the legacy application to sections. Streamlined how automapper configs are registered (much better now). Updated some unit tests to use the new classes instead of the legacy ones. Created the sections controller to return the sections from the back office. Changed the TypeFinder to search all types not just public ones, changed the boot managers to not have to explicitly modify the resolvers with internal types because now internal types are automatically found.

This commit is contained in:
Shannon
2013-07-01 14:23:56 +10:00
parent ad766a2544
commit 388f55d7fd
24 changed files with 607 additions and 389 deletions

View File

@@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AutoMapper;
namespace Umbraco.Core.Models.Mapping
{
/// <summary>
/// This is used to explicitly decorate any ApplicationEventHandler class if there are
/// AutoMapper configurations defined.
/// </summary>
/// <remarks>
/// All automapper configurations are done during startup
/// inside an Automapper Initialize call which is better for performance
/// </remarks>
internal interface IMapperConfiguration : IApplicationEventHandler
{
void ConfigureMappings(IConfiguration config);
}
}