<commit_before><commit_msg>Add a more specific GenericListModel to reduce the amount of code<commit_after>﻿using System.Collections;
using System.Collections.Generic;
using Xe.Tools.Wpf.Models;

namespace OpenKh.Tools.Common.Models
{
    public class MyGenericListModel<T> : GenericListModel<T>, IEnumerable<T>
    {
        public MyGenericListModel(IEnumerable<T> list) : base(list)
        {
        }

        public IEnumerator<T> GetEnumerator() => Items.GetEnumerator();
        IEnumerator IEnumerable.GetEnumerator() => Items.GetEnumerator();
        protected override T OnNewItem() => throw new System.NotImplementedException();
    }
}

{'fraction_non_alphanumeric': 0.10339506172839506, 'fraction_numerical': 0.0, 'mean_word_length': 4.0703125, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 11, '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': '5823700', 'n_tokens_mistral': 187, 'n_tokens_neox': 188, 'n_words': 41}