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 614B

12345678910111213141516171819202122232425262728
  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 string Title { get; set; }
  10. public string Description { get; set; }
  11. public int PostsToLoad { get; set; }
  12. public int CommentsToLoad { get; set; }
  13. public BlogConfig()
  14. {
  15. SetDefaults();
  16. }
  17. public void SetDefaults()
  18. {
  19. Title = string.Empty;
  20. Description = string.Empty;
  21. PostsToLoad = 10;
  22. CommentsToLoad = 10;
  23. }
  24. }
  25. }