1
0
mirror of https://github.com/soarqin/DSP_Mods_TO.git synced 2025-12-18 12:33:28 +08:00

add XianTu

This commit is contained in:
2024-05-03 00:28:53 +08:00
parent 13e9a200b5
commit 8f5585081d
74 changed files with 2532 additions and 4589 deletions

21
XianTu/Singleton.cs Normal file
View File

@@ -0,0 +1,21 @@

namespace XianTu;
public class Singleton<T> where T : new()
{
public static T Instance
{
get
{
var flag = _msInstance == null;
if (flag)
{
_msInstance = new T();
}
return _msInstance;
}
}
private static T _msInstance;
}