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.

PodcastConfig.cs 760B

12345678910111213141516171819202122232425262728293031
  1. using System;
  2. using System.Collections.Generic;
  3. using System.IO;
  4. using System.Linq;
  5. using System.Web;
  6. namespace Teknik.Configuration
  7. {
  8. public class PodcastConfig
  9. {
  10. public string Title { get; set; }
  11. public string Description { get; set; }
  12. public int PodcastsToLoad { get; set; }
  13. public int CommentsToLoad { get; set; }
  14. public string PodcastDirectory { get; set; }
  15. public PodcastConfig()
  16. {
  17. SetDefaults();
  18. }
  19. public void SetDefaults()
  20. {
  21. Title = string.Empty;
  22. Description = string.Empty;
  23. PodcastsToLoad = 10;
  24. CommentsToLoad = 10;
  25. PodcastDirectory = Directory.GetCurrentDirectory();
  26. }
  27. }
  28. }