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

namespace Microsoft.Xbox.Services
{
    using global::System;

    using Newtonsoft.Json;

    public partial class XboxLiveAppConfiguration
    {
        public const string FileName = "XboxServices.config";

        private static readonly object instanceLock = new object();
        private static XboxLiveAppConfiguration instance;

        public static XboxLiveAppConfiguration Instance
        {
            get
            {
                if (instance == null)
                {
                    lock (instanceLock)
                    {
                        if (instance == null)
                        {
                            instance = Load();
                        }
                    }
                }
                return instance;
            }
        }

        private XboxLiveAppConfiguration()
        {
        }

        public string PublisherId { get; set; }

        public string PublisherDisplayName { get; set; }

        public string PackageIdentityName { get; set; }

        public string DisplayName { get; set; }

        public string AppId { get; set; }

        public string ProductFamilyName { get; set; }

        internal string EnvironmentPrefix { get; set; }

        internal bool UseFirstPartyToken { get; set; }

        public string PrimaryServiceConfigId { get; set; }

        public uint TitleId { get; set; }

        public string Sandbox { get; set; }

        public string Environment { get; set; }

        public string GetEndpointForService(string serviceName, string protocol = "https")
        {
            return string.Format("{0}://{1}{2}.xboxlive.com", protocol, serviceName, string.IsNullOrEmpty(this.Environment) ? string.Empty : ("." + this.Environment));<commit_msg>Update XboxLiveAppConfiguration to include XboxLiveCreatorsTitle (#90)<commit_after>// Copyright (c) Microsoft Corporation
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

namespace Microsoft.Xbox.Services
{
    using global::System;

    using Newtonsoft.Json;

    public partial class XboxLiveAppConfiguration
    {
        public const string FileName = "XboxServices.config";

        private static readonly object instanceLock = new object();
        private static XboxLiveAppConfiguration instance;

        public static XboxLiveAppConfiguration Instance
        {
            get
            {
                if (instance == null)
                {
                    lock (instanceLock)
                    {
                        if (instance == null)
                        {
                            instance = Load();
                        }
                    }
                }
                return instance;
            }
        }

        private XboxLiveAppConfiguration()
        {
        }

        public string PublisherId { get; set; }

        public string PublisherDisplayName { get; set; }

        public string PackageIdentityName { get; set; }

        public string DisplayName { get; set; }

        public string AppId { get; set; }

        public string ProductFamilyName { get; set; }

        internal string EnvironmentPrefix { get; set; }

        internal bool UseFirstPartyToken { get; set; }

        public string PrimaryServiceConfigId { get; set; }

        public uint TitleId { get; set; }

        public string Sandbox { get; set; }

        public string Environment { get; set; }

        public bool XboxLiveCreatorsTitle { get; set; }

        public string GetEndpointForService(string serviceName, string protocol = "https")
        {
            return string.Format("{0}://{1}{2}.xboxlive.com", protocol, serviceName, string.IsNullOrEmpty(this.Environment) ? string.Empty : ("." + this.Environment));
{'fraction_non_alphanumeric': 0.07678661936137861, 'fraction_numerical': 0.0020273694880892043, 'mean_word_length': 1.7756680731364276, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3008165', 'n_tokens_mistral': 939, 'n_tokens_neox': 880, 'n_words': 289}