using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OptionsPattern.Sutdy.Experience { public class AppOption { /// /// 软件名 /// public string AppName { get; set; } = "IniAppName"; /// /// 软件版本 /// public Version AppVersion { get; set; } = new Version( "0.0.0.1"); /// /// 接收邮箱配置对象 /// public ReceiveMailOption? EMail { get; set; } } }