<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 System;
using System.Linq;
using System.Threading.Tasks;
using Avalonia.Controls;
using Core2D.UI.Avalonia.Windows;
using Core2D.Editor;
using Core2D.Interfaces;
using Core2D.Renderer;

namespace Core2D.UI.Avalonia.Importers
{
    /// <summary>
    /// File image importer.
    /// </summary>
    public class AvaloniaImageImporter : IImageImporter
    {
        private readonly IServiceProvider _serviceProvider;

        /// <summary>
        /// Initialize new instance of <see cref="AvaloniaImageImporter"/> class.
        /// </summary>
        /// <param name="serviceProvider">The service provider.</param>
        public AvaloniaImageImporter(IServiceProvider serviceProvider)
        {
            _serviceProvider = serviceProvider;<commit_msg>Update AvaloniaImageImporter.cs<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 System;
using System.Linq;
using System.Threading.Tasks;
using Avalonia.Controls;
using Core2D.Editor;
using Core2D.Interfaces;
using Core2D.Renderer;
using Core2D.UI.Avalonia.Windows;

namespace Core2D.UI.Avalonia.Importers
{
    /// <summary>
    /// File image importer.
    /// </summary>
    public class AvaloniaImageImporter : IImageImporter
    {
        private readonly IServiceProvider _serviceProvider;

        /// <summary>
        /// Initialize new instance of <see cref="AvaloniaImageImporter"/> class.
        /// </summary>
        /// <param name="serviceProvider">The service provider.</param>
        public AvaloniaImageImporter(IServiceProvider serviceProvider)
        {
            _serviceProvider = serviceProvider;
{'fraction_non_alphanumeric': 0.10117773019271949, 'fraction_numerical': 0.0053533190578158455, 'mean_word_length': 3.162583518930958, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, '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': '3399253', 'n_tokens_mistral': 507, 'n_tokens_neox': 507, 'n_words': 144}