<commit_before>﻿using Implem.DefinitionAccessor;
using Implem.Libraries.DataSources.SqlServer;
using Implem.Libraries.Utilities;
using Implem.Pleasanter.Libraries.DataSources;
using Implem.Pleasanter.Libraries.DataTypes;
using Implem.Pleasanter.Libraries.HtmlParts;
using Implem.Pleasanter.Libraries.Requests;
using Implem.Pleasanter.Libraries.Responses;
using Implem.Pleasanter.Libraries.Security;
using Implem.Pleasanter.Libraries.Settings;
using Implem.Pleasanter.Models;
using System.Collections.Generic;
using System.Data;
using System.Linq;
namespace Implem.Pleasanter.Libraries.Server
{
    public static class SiteInfo
    {
        public static SiteMenu SiteMenu = new SiteMenu();
        public static Dictionary<long, List<int>> SiteUserIdCollection =
            new Dictionary<long, List<int>>();
        public static Dictionary<int, Dept> DeptHash;
        public static Dictionary<int, User> UserHash;

        public static IEnumerable<int> UserIdCollection(long siteId)
        {
            if (!SiteUserIdCollection.ContainsKey(siteId))
            {
                SetSiteUserIdCollection(siteId, reload: true);
            }
            return SiteUserIdCollection[siteId];<commit_msg>Refactored: 不要なusingの削除。<commit_after>﻿using Implem.DefinitionAccessor;
using Implem.Libraries.DataSources.SqlServer;
using Implem.Libraries.Utilities;
using Implem.Pleasanter.Libraries.DataSources;
using Implem.Pleasanter.Libraries.DataTypes;
using Implem.Pleasanter.Libraries.HtmlParts;
using Implem.Pleasanter.Libraries.Requests;
using Implem.Pleasanter.Libraries.Responses;
using Implem.Pleasanter.Models;
using System.Collections.Generic;
using System.Data;
using System.Linq;
namespace Implem.Pleasanter.Libraries.Server
{
    public static class SiteInfo
    {
        public static SiteMenu SiteMenu = new SiteMenu();
        public static Dictionary<long, List<int>> SiteUserIdCollection =
            new Dictionary<long, List<int>>();
        public static Dictionary<int, Dept> DeptHash;
        public static Dictionary<int, User> UserHash;

        public static IEnumerable<int> UserIdCollection(long siteId)
        {
            if (!SiteUserIdCollection.ContainsKey(siteId))
            {
                SetSiteUserIdCollection(siteId, reload: true);
            }
            return SiteUserIdCollection[siteId];
{'fraction_non_alphanumeric': 0.08543357539513029, 'fraction_numerical': 0.0, 'mean_word_length': 3.8388429752066116, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '7141606', 'n_tokens_mistral': 693, 'n_tokens_neox': 697, 'n_words': 136}