The next generation of the Teknik Services. Written in ASP.NET. https://www.teknik.io/
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

ContactConfig.cs 387B

12345678910111213141516171819
  1. namespace Teknik.Configuration
  2. {
  3. public class ContactConfig
  4. {
  5. public bool Enabled { get; set; }
  6. public EmailAccount EmailAccount { get; set; }
  7. public ContactConfig()
  8. {
  9. SetDefaults();
  10. }
  11. public void SetDefaults()
  12. {
  13. Enabled = true;
  14. EmailAccount = new EmailAccount();
  15. }
  16. }
  17. }