2016-02-22 08:42:38 +01:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Web;
|
|
|
|
|
|
|
|
|
|
namespace Teknik.Configuration
|
|
|
|
|
{
|
|
|
|
|
public class ShortenerConfig
|
|
|
|
|
{
|
2017-02-14 02:38:33 +01:00
|
|
|
|
public bool Enabled { get; set; }
|
2016-02-22 08:42:38 +01:00
|
|
|
|
public string ShortenerHost { get; set; }
|
|
|
|
|
|
2016-02-24 01:53:17 +01:00
|
|
|
|
public int UrlLength { get; set; }
|
|
|
|
|
|
2016-02-22 08:42:38 +01:00
|
|
|
|
public ShortenerConfig()
|
|
|
|
|
{
|
2017-02-14 02:38:33 +01:00
|
|
|
|
Enabled = true;
|
2016-02-22 08:42:38 +01:00
|
|
|
|
ShortenerHost = string.Empty;
|
2016-02-24 01:53:17 +01:00
|
|
|
|
UrlLength = 4;
|
2016-02-22 08:42:38 +01:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|