<commit_before>using System;
using System.Reflection;

namespace Csla
{
    internal sealed class Utilities
    {
        private Utilities()
        {

        }

        public static bool IsNumeric(object value)
        {
            double dbl;
            return double.TryParse(value.ToString(), System.Globalization.NumberStyles.Any,
              System.Globalization.NumberFormatInfo.InvariantInfo, out dbl);
        }

        public static object CallByName(object target, string methodName, CallType callType, params object[] args)
        {
            switch (callType)
            {
                case CallType.Get:
                    {
                        PropertyInfo p = target.GetType().GetProperty(methodName);
                        return p.GetValue(target, args);
                    }<commit_msg>Made into static class, and removed constructor.<commit_after>using System;
using System.Reflection;

namespace Csla
{
    internal static class Utilities
    {

        public static bool IsNumeric(object value)
        {
            double dbl;
            return double.TryParse(value.ToString(), System.Globalization.NumberStyles.Any,
              System.Globalization.NumberFormatInfo.InvariantInfo, out dbl);
        }

        public static object CallByName(object target, string methodName, CallType callType, params object[] args)
        {
            switch (callType)
            {
                case CallType.Get:
                    {
                        PropertyInfo p = target.GetType().GetProperty(methodName);
                        return p.GetValue(target, args);
                    }
{'fraction_non_alphanumeric': 0.0730816077953715, 'fraction_numerical': 0.0, 'mean_word_length': 1.7247097844112769, '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': '7027423', 'n_tokens_mistral': 398, 'n_tokens_neox': 384, 'n_words': 98}