<commit_before>﻿using System.Collections.Generic;

namespace DatenMeister.Models.Forms
{
    public class DetailForm : Form
    {
        public DetailForm()
        {
        }

        public DetailForm(string name) : base(name)
        {
        }

        public DetailForm(string name, params FieldData[] fieldsToBeAdded) : this(name)
        {
            AddFields(fieldsToBeAdded);
        }

        /// <summary>
        /// Stores the default button text being by the user to acknowledge the action behind the form
        /// </summary>
        public string buttonApplyText { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether the detailform allows new properties
        /// </summary>
        public bool allowNewProperties { get; set; }

        /// <summary>
        /// Gets or sets the default width in pixels for a standard 96dpi screen
        /// </summary>
        public int defaultWidth { get; set; }

        /// <summary>
        /// Gets or sets the default height in pixels for a standard 96 dpi screen
        /// </summary>
        public int defaultHeight { get; set; }

        /// <summary>
        /// Gets or sets the tabs
        /// </summary>
        public List<Form> tab { get; set; }

        /// <summary>
        /// Stores the fields which shall be shown in the form
        /// </summary>
        public IList<FieldData> field { get; set; } = new List<FieldData>();
        
        /// <summary>
        /// Adds the fields to the form
        /// </summary>
        /// <param name="fieldsToBeAdded">Fields to be added</param>
        public void AddFields(params FieldData[] fieldsToBeAdded)
        {
            foreach (var fieldToBeAdded in fieldsToBeAdded)
            {
                field.Add(fieldToBeAdded);
            }
        }
    }
}<commit_msg>Improved comment<commit_after>﻿using System.Collections.Generic;

namespace DatenMeister.Models.Forms
{
    public class DetailForm : Form
    {
        public DetailForm()
        {
        }

        public DetailForm(string name) : base(name)
        {
        }

        public DetailForm(string name, params FieldData[] fieldsToBeAdded) : this(name)
        {
            AddFields(fieldsToBeAdded);
        }

        /// <summary>
        /// Stores the default button text being by the user to acknowledge the action behind the form
        /// </summary>
        public string buttonApplyText { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether the detailform allows new properties
        /// </summary>
        public bool allowNewProperties { get; set; }

        /// <summary>
        /// Gets or sets the default width in pixels for a standard 96dpi screen
        /// </summary>
        public int defaultWidth { get; set; }

        /// <summary>
        /// Gets or sets the default height in pixels for a standard 96 dpi screen
        /// </summary>
        public int defaultHeight { get; set; }

        /// <summary>
        /// Gets or sets the tabs
        /// </summary>
        public List<Form> tab { get; set; }

        /// <summary>
        /// Stores the fields which shall be shown in the as the first field
        /// </summary>
        public IList<FieldData> field { get; set; } = new List<FieldData>();
        
        /// <summary>
        /// Adds the fields to the form
        /// </summary>
        /// <param name="fieldsToBeAdded">Fields to be added</param>
        public void AddFields(params FieldData[] fieldsToBeAdded)
        {
            foreach (var fieldToBeAdded in fieldsToBeAdded)
            {
                field.Add(fieldToBeAdded);
            }
        }
    }
}
{'fraction_non_alphanumeric': 0.10509296685529507, 'fraction_numerical': 0.002155753166262463, 'mean_word_length': 1.627034677990092, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 41, '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': '5440573', 'n_tokens_mistral': 975, 'n_tokens_neox': 940, 'n_words': 324}