feat: 添加测试项目并更新解决方案配置
This commit is contained in:
24
Test/Program.cs
Normal file
24
Test/Program.cs
Normal 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; }
|
||||
}
|
Reference in New Issue
Block a user