<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;

namespace Dock.Model
{
    /// <summary>
    /// View base class.
    /// </summary>
    public abstract class ViewBase : ObservableObject, IView
    {
        private ImmutableArray<IViewsWindow> _windows;

        /// <inheritdoc/>
        public ImmutableArray<IViewsWindow> Windows
        {
            get => _panels;
            set => Update(ref _windows, value);
        }

        /// <inheritdoc/>
        public abstract string Title { get; }

        /// <inheritdoc/>
        public abstract object Context { get; }

        /// <inheritdoc/>
        public virtual void ShowWindows()
        {
            foreach (var window in _windows)
            {
                window.Create();
                window.Present();
            }
        }

        /// <inheritdoc/>
        public virtual void CloseWindows()
        {<commit_msg>Fix errors<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;

namespace Dock.Model
{
    /// <summary>
    /// View base class.
    /// </summary>
    public abstract class ViewBase : ObservableObject, IView
    {
        private ImmutableArray<IViewsWindow> _windows;

        /// <inheritdoc/>
        public ImmutableArray<IViewsWindow> Windows
        {
            get => _windows;
            set => Update(ref _windows, value);
        }

        /// <inheritdoc/>
        public abstract string Title { get; }

        /// <inheritdoc/>
        public abstract object Context { get; }

        /// <inheritdoc/>
        public virtual void ShowWindows()
        {
            foreach (var window in _windows)
            {
                window.Present();
            }
        }

        /// <inheritdoc/>
        public virtual void CloseWindows()
        {
{'fraction_non_alphanumeric': 0.10449927431059507, 'fraction_numerical': 0.0, 'mean_word_length': 1.6787564766839378, 'pattern_counts': {'":': 0, '<': 23, '<?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': '7456716', 'n_tokens_mistral': 516, 'n_tokens_neox': 500, 'n_words': 160}