The next generation of the Teknik Services. Written in ASP.NET. https://www.teknik.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

BlogConfig.cs 684B

123456789101112131415161718192021222324252627282930
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Web;
  5. namespace Teknik.Configuration
  6. {
  7. public class BlogConfig
  8. {
  9. public bool Enabled { get; set; }
  10. public string Title { get; set; }
  11. public string Description { get; set; }
  12. public int PostsToLoad { get; set; }
  13. public int CommentsToLoad { get; set; }
  14. public BlogConfig()
  15. {
  16. SetDefaults();
  17. }
  18. public void SetDefaults()
  19. {
  20. Enabled = true;
  21. Title = string.Empty;
  22. Description = string.Empty;
  23. PostsToLoad = 10;
  24. CommentsToLoad = 10;
  25. }
  26. }
  27. }