<commit_before>﻿using System;
using System.Collections.Generic;
using System.Diagnostics;

namespace FluentSiteMap
{
    /// <summary>
    /// Represents the state of a site map node after it has been built, 
    /// but before it has been filtered.
    /// </summary>
    [DebuggerDisplay("Title = {Title}, Url = {Url}")]
    public class Node
    {
        /// <summary>
        /// Initializes a new instance of a <see cref="Node"/> class.
        /// </summary>
        /// <param name="filters">
        /// The filters that will be applied to this node during filtering.
        /// </param>
        internal Node(IList<INodeFilter> filters)
        {
            if (filters == null) throw new ArgumentNullException("filters");

            Filters = filters;
        }

        /// <summary>
        /// Gets or sets the node title.
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// Gets or sets the node description.
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// Gets or sets the node URL.<commit_msg>Made Node's constructor public so it can be created by external unit tests.<commit_after>﻿using System;
using System.Collections.Generic;
using System.Diagnostics;

namespace FluentSiteMap
{
    /// <summary>
    /// Represents the state of a site map node after it has been built, 
    /// but before it has been filtered.
    /// </summary>
    [DebuggerDisplay("Title = {Title}, Url = {Url}")]
    public class Node
    {
        /// <summary>
        /// Initializes a new instance of a <see cref="Node"/> class.
        /// </summary>
        /// <param name="filters">
        /// The filters that will be applied to this node during filtering.
        /// </param>
        public Node(IList<INodeFilter> filters)
        {
            if (filters == null) throw new ArgumentNullException("filters");

            Filters = filters;
        }

        /// <summary>
        /// Gets or sets the node title.
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// Gets or sets the node description.
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// Gets or sets the node URL.
{'fraction_non_alphanumeric': 0.12869565217391304, 'fraction_numerical': 0.0, 'mean_word_length': 1.7392857142857143, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 29, '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': '2328432', 'n_tokens_mistral': 599, 'n_tokens_neox': 588, 'n_words': 221}