Obsoleted umbraco.businesslogic.ApplicationTree, have moved logic and new classes to core and proxied calls from it to the new ones. The new ApplicationTreeCollection will be the runtime colleciton of trees which can also read/write/save to the xml.
This commit is contained in:
15
src/Umbraco.Core/ModelMapperHelper.cs
Normal file
15
src/Umbraco.Core/ModelMapperHelper.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using AutoMapper;
|
||||
|
||||
namespace Umbraco.Core
|
||||
{
|
||||
/// <summary>
|
||||
/// Helper class for static model mapping with automapper
|
||||
/// </summary>
|
||||
internal static class ModelMapperHelper
|
||||
{
|
||||
internal static IMappingExpression<TSource, TSource> SelfMap<TSource>()
|
||||
{
|
||||
return Mapper.CreateMap<TSource, TSource>();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user