using Microsoft.Extensions.DependencyInjection;
using Umbraco.Cms.Core.DependencyInjection;
using Umbraco.Cms.Core.Mapping;
using Umbraco.Cms.Core.Models.Mapping;
using Umbraco.Cms.Core.Security;
using Umbraco.Extensions;
namespace Umbraco.Cms.Infrastructure.DependencyInjection
{
public static partial class UmbracoBuilderExtensions
{
///
/// Registers the core Umbraco mapper definitions
///
public static IUmbracoBuilder AddCoreMappingProfiles(this IUmbracoBuilder builder)
{
builder.Services.AddUnique();
builder.WithCollectionBuilder()
.Add()
.Add()
.Add()
.Add()
.Add()
.Add()
.Add()
.Add()
.Add()
.Add()
.Add()
.Add()
.Add()
.Add()
.Add()
.Add()
.Add();
builder.Services.AddTransient();
builder.Services.AddTransient();
return builder;
}
}
}