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

namespace Microsoft.MixedReality.Toolkit.UI
{
    /// <summary>
    ///     Container for all renderers and colliders used in the ScrollingObjectCollection.
    ///     It's main purpose is to find and cache those Components.
    ///     Thanks to that we don't have to run GetComponentsInChildren every frame. 
    /// </summary>
    public class ScrollingObjectCollectionContainer : MonoBehaviour
    {
        [SerializeField]
        private GameObject[] children;

        /// <summary>
        ///     Dictionary containing ScrollingObjectCollection's items child renderers.
        /// </summary>
        public Dictionary<GameObject, Renderer[]> ItemRenderersMap { get; } = new Dictionary<GameObject, Renderer[]>();

        /// <summary>
        ///     Dictionary containing ScrollingObjectCollection's items child colliders.
        /// </summary>
        public Dictionary<GameObject, Collider[]> ItemCollidersMap { get; } = new Dictionary<GameObject, Collider[]>();

        /// <summary>
        ///     Position of the Container.
        /// </summary>
        public Vector3 LocalPosition
        {
            get => transform.localPosition;
            set => transform.localPosition = value;
        }

        private GameObject[] Children
        {
            get
            {
                var childCount = transform.childCount;<commit_msg>- Removed additional spaces from documentation in ScrollingObjectCollectionContainer.cs<commit_after>﻿using System.Collections.Generic;
using UnityEngine;

namespace Microsoft.MixedReality.Toolkit.UI
{
    /// <summary>
    /// Container for all renderers and colliders used in the ScrollingObjectCollection.
    /// It's main purpose is to find and cache those Components.
    /// Thanks to that we don't have to run GetComponentsInChildren every frame. 
    /// </summary>
    public class ScrollingObjectCollectionContainer : MonoBehaviour
    {
        [SerializeField]
        private GameObject[] children;

        /// <summary>
        /// Dictionary containing ScrollingObjectCollection's items child renderers.
        /// </summary>
        public Dictionary<GameObject, Renderer[]> ItemRenderersMap { get; } = new Dictionary<GameObject, Renderer[]>();

        /// <summary>
        /// Dictionary containing ScrollingObjectCollection's items child colliders.
        /// </summary>
        public Dictionary<GameObject, Collider[]> ItemCollidersMap { get; } = new Dictionary<GameObject, Collider[]>();

        /// <summary>
        /// Position of the Container.
        /// </summary>
        public Vector3 LocalPosition
        {
            get => transform.localPosition;
            set => transform.localPosition = value;
        }

        private GameObject[] Children
        {
            get
            {
                var childCount = transform.childCount;
{'fraction_non_alphanumeric': 0.09856262833675565, 'fraction_numerical': 0.0006844626967830253, 'mean_word_length': 2.255011135857461, 'pattern_counts': {'":': 0, '<': 27, '<?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': '7665665', 'n_tokens_mistral': 699, 'n_tokens_neox': 684, 'n_words': 206}