<commit_before>﻿using System.Collections.Generic;
using AutoMapper;
using Umbraco.Core.Components;
using Umbraco.Core.IO;

namespace Umbraco.Core.Runtime
{
    public class CoreRuntimeComponent : IComponent
    {
        internal CoreRuntimeComponent(IEnumerable<Profile> mapperProfiles)
        {
            // mapper profiles have been registered & are created by the container
            Mapper.Initialize(configuration =>
            {
                foreach (var profile in mapperProfiles)
                    configuration.AddProfile(profile);
            });
<commit_msg>Public ctor on CoreRuntimeComponent<commit_after>﻿using System.Collections.Generic;
using AutoMapper;
using Umbraco.Core.Components;
using Umbraco.Core.IO;

namespace Umbraco.Core.Runtime
{
    public class CoreRuntimeComponent : IComponent
    {
        public CoreRuntimeComponent(IEnumerable<Profile> mapperProfiles)
        {
            // mapper profiles have been registered & are created by the container
            Mapper.Initialize(configuration =>
            {
                foreach (var profile in mapperProfiles)
                    configuration.AddProfile(profile);
            });

{'fraction_non_alphanumeric': 0.06937394247038917, 'fraction_numerical': 0.0, 'mean_word_length': 2.5632530120481927, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5929232', 'n_tokens_mistral': 287, 'n_tokens_neox': 282, 'n_words': 71}