23 lines
616 B
C#
23 lines
616 B
C#
namespace NBConfigBuilder;
|
|
|
|
// 添加配置类
|
|
public class AppConfig
|
|
{
|
|
public string ExcelPath { get; set; }
|
|
public string ClientPath { get; set; }
|
|
public string ClientJsonPath { get; set; }
|
|
public string ClientNamespace { get; set; }
|
|
public string ServerPath { get; set; }
|
|
public string ServerJsonPath { get; set; }
|
|
public string ServerNamespace { get; set; }
|
|
public bool GenClient { get; set; }
|
|
public bool GenServer { get; set; }
|
|
|
|
|
|
public string ExcelVersionPath => Path.Combine(ExcelPath, "Version.txt");
|
|
}
|
|
|
|
public static class App
|
|
{
|
|
public static AppConfig Config;
|
|
} |