<commit_before>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;

namespace Uncas.Core
{
    /// <summary>
    /// Holds common bootstrapper logic.
    /// </summary>
    public class BaseBootstrapper
    {
        private IIocContainer _container;

        private Assembly _assembly;

        /// <summary>
        /// Initializes a new instance of the <see cref="BaseBootstrapper"/> class.
        /// </summary>
        /// <param name="container">The container.</param>
        [Obsolete]
        public BaseBootstrapper(
            IIocContainer container)
            : this(container, Assembly.GetEntryAssembly())
        {
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="BaseBootstrapper"/> class.
        /// </summary>
        /// <param name="container">The container.</param>
        /// <param name="assembly">The assembly.</param><commit_msg>Changing to readonly.<commit_after>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;

namespace Uncas.Core
{
    /// <summary>
    /// Holds common bootstrapper logic.
    /// </summary>
    public class BaseBootstrapper
    {
        private readonly IIocContainer _container;

        private readonly Assembly _assembly;

        /// <summary>
        /// Initializes a new instance of the <see cref="BaseBootstrapper"/> class.
        /// </summary>
        /// <param name="container">The container.</param>
        [Obsolete]
        public BaseBootstrapper(
            IIocContainer container)
            : this(container, Assembly.GetEntryAssembly())
        {
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="BaseBootstrapper"/> class.
        /// </summary>
        /// <param name="container">The container.</param>
        /// <param name="assembly">The assembly.</param>
{'fraction_non_alphanumeric': 0.12918410041841005, 'fraction_numerical': 0.0, 'mean_word_length': 2.1258169934640523, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 31, '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': '916774', 'n_tokens_mistral': 489, 'n_tokens_neox': 484, 'n_words': 129}