1
0
mirror of https://git.teknik.io/Teknikode/Teknik.git synced 2023-08-02 14:16:22 +02:00
Teknik/Utilities/Configuration/PodcastConfig.cs

33 lines
830 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
2016-01-26 05:54:53 +01:00
using System.IO;
using System.Linq;
using System.Web;
namespace Teknik.Configuration
{
public class PodcastConfig
{
public bool Enabled { get; set; }
public string Title { get; set; }
public string Description { get; set; }
public int PodcastsToLoad { get; set; }
public int CommentsToLoad { get; set; }
2016-01-26 00:36:25 +01:00
public string PodcastDirectory { get; set; }
public PodcastConfig()
{
SetDefaults();
}
public void SetDefaults()
{
Enabled = true;
Title = string.Empty;
Description = string.Empty;
PodcastsToLoad = 10;
CommentsToLoad = 10;
2016-01-26 05:54:53 +01:00
PodcastDirectory = Directory.GetCurrentDirectory();
}
}
}