<commit_before>﻿// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Core2D.Renderer;
using System.Collections.Generic;
using System.Linq;

namespace Core2D.Project
{
    /// <summary>
    /// Project <see cref="IImageCache"/> implementation.
    /// </summary>
    public partial class XProject : XSelectable, IImageCache
    {
        private IDictionary<string, byte[]> _images = new Dictionary<string, byte[]>();

        /// <inheritdoc/>
        public IEnumerable<ImageKey> Keys
        {
            get
            {
                return _images.Select(i => new ImageKey() { Key = i.Key }).ToList();
            }
        }<commit_msg>Added GetKeys method<commit_after>﻿// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Core2D.Renderer;
using System.Collections.Generic;
using System.Linq;

namespace Core2D.Project
{
    /// <summary>
    /// Project <see cref="IImageCache"/> implementation.
    /// </summary>
    public partial class XProject : XSelectable, IImageCache
    {
        private IDictionary<string, byte[]> _images = new Dictionary<string, byte[]>();

        private IEnumerable<ImageKey> GetKeys() => _images.Select(i => new ImageKey() { Key = i.Key }).ToList();

        /// <inheritdoc/>
        public IEnumerable<ImageKey> Keys => GetKeys();
{'fraction_non_alphanumeric': 0.12635135135135134, 'fraction_numerical': 0.002702702702702703, 'mean_word_length': 2.7974358974358973, 'pattern_counts': {'":': 0, '<': 20, '<?xml version=': 0, '>': 24, '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': '5384430', 'n_tokens_mistral': 399, 'n_tokens_neox': 391, 'n_words': 128}