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

namespace Octokit
{
    [DebuggerDisplay("{DebuggerDisplay,nq}")]
    public class ApiOptions
    {
        public static ApiOptions None
        {
            get { return new ApiOptions(); }
        }

        /// <summary>
        /// Specify the start page for pagination actions
        /// </summary>
        /// <remarks>
        /// Page numbering is 1-based on the server
        /// </remarks>
        public int? StartPage { get; set; }

        /// <summary>
        /// Specify the number of pages to return
        /// </summary>
        public int? PageCount { get; set; }
<commit_msg>Class ApiOptionsSingleton was implemented in order to support proper unit tests.<commit_after>﻿using System;
using System.Collections.Generic;
using System.Diagnostics;

namespace Octokit
{
    [DebuggerDisplay("{DebuggerDisplay,nq}")]
    public class ApiOptions
    {
        private class ApiOptionsSingleton
        {
            private static readonly ApiOptions _instance = new ApiOptions();

            // Explicit static constructor to tell C# compiler
            // not to mark type as beforefieldinit
            static ApiOptionsSingleton()
            {
            }

            private ApiOptionsSingleton()
            {
            }

            public static ApiOptions Instance
            {
                get
                {
                    return _instance;
                }
            }
        }
        
        public static ApiOptions None
        {
            get { return ApiOptionsSingleton.Instance; }
        }

        /// <summary>
        /// Specify the start page for pagination actions
        /// </summary>
        /// <remarks>
        /// Page numbering is 1-based on the server
        /// </remarks>
        public int? StartPage { get; set; }

        /// <summary>
        /// Specify the number of pages to return
        /// </summary>
        public int? PageCount { get; set; }

{'fraction_non_alphanumeric': 0.09149040826364978, 'fraction_numerical': 0.000983767830791933, 'mean_word_length': 1.5142150803461063, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '2997985', 'n_tokens_mistral': 497, 'n_tokens_neox': 507, 'n_words': 157}