using XFEExtension.NetCore.AutoConfig; using XFEToolBox.Core.Model; namespace XFEToolBox.Profiles.CrossVersionProfiles; public partial class ConsoleProfile { /// /// 控制台端口 /// [ProfileProperty] private int consolePort = 3280; /// /// 控制台连接密码 /// [ProfileProperty] private string consolePassword = ""; /// /// 是否只在本机回路中开放 /// [ProfileProperty] private bool localHostOnly = true; /// /// 最大行数 /// [ProfileProperty] private int maxLine = 8000; public ConsoleProfile() => ProfilePath = @$"{AppPath.LocalProfile}\{typeof(ConsoleProfile)}.xprofile"; }