check point

This commit is contained in:
meelstorm
2025-07-14 12:03:59 +02:00
commit d3cb790bd9
431 changed files with 44078 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
using System.Linq;
using System.Reflection;
namespace Inspectron.Settings.Windows
{
public static class PropHelper
{
public static PropertyInfo GetPrp(object obj,string name)
{
return obj.GetType().GetProperties(BindingFlags.Public | BindingFlags.Instance)
.First(x => x.Name == name);
}
public static string SplitCamelCase(string input)
{
return System.Text.RegularExpressions.Regex.Replace(input, "([A-Z])", " $1", System.Text.RegularExpressions.RegexOptions.Compiled).Trim();
}
}
}