<commit_before>﻿// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

using Microsoft.Fx.Portability.ObjectModel;
using System.Collections.Generic;
using System.IO;

namespace Microsoft.Fx.Portability
{
    /// <summary>
    /// Provides an implementation of IApiPortOptions that allows for reading and writing properties
    /// </summary>
    public class ReadWriteApiPortOptions : IApiPortOptions
    {
        public ReadWriteApiPortOptions() { }

        public ReadWriteApiPortOptions(IApiPortOptions other)
        {
            BreakingChangeSuppressions = other.BreakingChangeSuppressions;
            Description = other.Description;
            IgnoredAssemblyFiles = other.IgnoredAssemblyFiles;
            InputAssemblies = other.InputAssemblies;
            OutputFormats = other.OutputFormats;
            RequestFlags = other.RequestFlags;
            Targets = other.Targets;
            ServiceEndpoint = other.ServiceEndpoint;
            InvalidInputFiles = other.InvalidInputFiles;
            OutputFileName = other.OutputFileName;
        }

        public IEnumerable<string> BreakingChangeSuppressions { get; set; }

        public string Description { get; set; }

        public IEnumerable<string> IgnoredAssemblyFiles { get; set; }

        public IEnumerable<FileInfo> InputAssemblies { get; set; }

        public IEnumerable<string> InvalidInputFiles { get; set; }

        public string OutputFileName { get; set; }

        public IEnumerable<string> OutputFormats { get; set; }

        public AnalyzeRequestFlags RequestFlags { get; set; }

        public string ServiceEndpoint { get; set; }

        public IEnumerable<string> Targets { get; set; }
    }
}<commit_msg>Change read/write options to be virtual<commit_after>﻿// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

using Microsoft.Fx.Portability.ObjectModel;
using System.Collections.Generic;
using System.IO;

namespace Microsoft.Fx.Portability
{
    /// <summary>
    /// Provides an implementation of IApiPortOptions that allows for reading and writing properties
    /// </summary>
    public class ReadWriteApiPortOptions : IApiPortOptions
    {
        public ReadWriteApiPortOptions() { }

        public ReadWriteApiPortOptions(IApiPortOptions other)
        {
            BreakingChangeSuppressions = other.BreakingChangeSuppressions;
            Description = other.Description;
            IgnoredAssemblyFiles = other.IgnoredAssemblyFiles;
            InputAssemblies = other.InputAssemblies;
            OutputFormats = other.OutputFormats;
            RequestFlags = other.RequestFlags;
            Targets = other.Targets;
            ServiceEndpoint = other.ServiceEndpoint;
            InvalidInputFiles = other.InvalidInputFiles;
            OutputFileName = other.OutputFileName;
        }

        public virtual IEnumerable<string> BreakingChangeSuppressions { get; set; }

        public virtual string Description { get; set; }

        public virtual IEnumerable<string> IgnoredAssemblyFiles { get; set; }

        public virtual IEnumerable<FileInfo> InputAssemblies { get; set; }

        public virtual IEnumerable<string> InvalidInputFiles { get; set; }

        public virtual string OutputFileName { get; set; }

        public virtual IEnumerable<string> OutputFormats { get; set; }

        public virtual AnalyzeRequestFlags RequestFlags { get; set; }

        public virtual string ServiceEndpoint { get; set; }

        public virtual IEnumerable<string> Targets { get; set; }
    }
}
{'fraction_non_alphanumeric': 0.07242864835756596, 'fraction_numerical': 0.0, 'mean_word_length': 2.8738269030239834, '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': '1083441', 'n_tokens_mistral': 916, 'n_tokens_neox': 888, 'n_words': 263}