feat: 添加测试项目并更新解决方案配置

This commit is contained in:
2025-01-21 17:47:23 +08:00
parent 6b2c87c031
commit 2aeef0227c
4 changed files with 49 additions and 0 deletions

24
Test/Program.cs Normal file
View File

@@ -0,0 +1,24 @@
using JackCraft.Config;
namespace Test;
internal static class Program
{
private static void Main(string[] args)
{
Console.WriteLine("Hello, World!");
var testClass = new TestClass
{
Test = "test",
Abc = 123
};
var config = new Config(new FileInfo("./config.json"));
var t = config.Get("aaa.www.aaa.ccc", "1");
}
}
public class TestClass
{
public string? Test { get; set; }
public int Abc { get; set; }
}