<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.Collections.Immutable;
using Core2D.Attributes;

namespace Core2D
{
    /// <summary>
    /// Observable resources base class.
    /// </summary>
    public abstract class ObservableResource : ObservableObject
    {
        private ImmutableArray<ObservableObject> _resources;

        /// <summary>
        /// Initializes a new instance of the <see cref="ObservableResource"/> class.
        /// </summary>
        public ObservableResource()
            : base()
        {
            Resources = ImmutableArray.Create<ObservableObject>();
        }

        /// <summary>
        /// Gets or sets shape resources.
        /// </summary>
        [Content]
        public ImmutableArray<ObservableObject> Resources
        {
            get { return _resources; }
            set { Update(ref _resources, value); }
        }
    }
}
<commit_msg>Update ObservableResource.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.Collections.Immutable;
using Core2D.Attributes;

namespace Core2D
{
    /// <summary>
    /// Observable resources base class.
    /// </summary>
    public abstract class ObservableResource : ObservableObject
    {
        private ImmutableArray<ObservableObject> _resources;

        /// <summary>
        /// Initializes a new instance of the <see cref="ObservableResource"/> class.
        /// </summary>
        public ObservableResource() : base() => Resources = ImmutableArray.Create<ObservableObject>();

        /// <summary>
        /// Gets or sets shape resources.
        /// </summary>
        [Content]
        public ImmutableArray<ObservableObject> Resources
        {
            get => _resources;
            set => Update(ref _resources, value);
        }
    }
}

{'fraction_non_alphanumeric': 0.10879284649776454, 'fraction_numerical': 0.001987083954297069, 'mean_word_length': 2.201907790143084, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 28, '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': '4717437', 'n_tokens_mistral': 493, 'n_tokens_neox': 488, 'n_words': 154}