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

namespace DotMaysWind.Data.Command
{
    /// <summary>
    /// Sql语句集合
    /// </summary>
    public sealed class CommandCollection : IEnumerable<ISqlCommand>
    {
        /// <summary>
        /// 对象条目
        /// </summary>
        public sealed class ObjectItem<T>
        {
            #region 字段
            private T _obj;
            private Int32 _index;
            #endregion

            #region 属性
            /// <summary>
            /// 获取当前条目所指对象
            /// </summary>
            public T Object
            {
                get { return this._obj; }
            }

            /// <summary>
            /// 获取当前条目的索引序号
            /// </summary>
            public Int32 Index
            {
                get { return this._index; }
            }
            #endregion

            #region 构造方法
            /// <summary>
            /// 初始化新的对象条目
            /// </summary><commit_msg>修改属性名<commit_after>﻿using System;
using System.Collections;
using System.Collections.Generic;

namespace DotMaysWind.Data.Command
{
    /// <summary>
    /// Sql语句集合
    /// </summary>
    public sealed class CommandCollection : IEnumerable<ISqlCommand>
    {
        /// <summary>
        /// 对象条目
        /// </summary>
        public sealed class ObjectItem<T>
        {
            #region 字段
            private T _obj;
            private Int32 _index;
            #endregion

            #region 属性
            /// <summary>
            /// 获取当前条目所指对象
            /// </summary>
            public T Value
            {
                get { return this._obj; }
            }

            /// <summary>
            /// 获取当前条目的索引序号
            /// </summary>
            public Int32 Index
            {
                get { return this._index; }
            }
            #endregion

            #region 构造方法
            /// <summary>
            /// 初始化新的对象条目
            /// </summary>
{'fraction_non_alphanumeric': 0.10905452726363181, 'fraction_numerical': 0.00400200100050025, 'mean_word_length': 0.9940179461615155, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 27, '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': '6806149', 'n_tokens_mistral': 572, 'n_tokens_neox': 579, 'n_words': 115}