Added events.Service and xmlhelper.service
This commit is contained in:
committed by
Per Ploug Krogslund
parent
3e3f12bf63
commit
e825c08901
@@ -1,15 +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>(this IConfiguration config)
|
||||
{
|
||||
return config.CreateMap<TSource, TSource>();
|
||||
}
|
||||
}
|
||||
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>(this IConfiguration config)
|
||||
{
|
||||
return config.CreateMap<TSource, TSource>();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user