31 lines
674 B
C#
31 lines
674 B
C#
using Shared.Models.Base;
|
|
|
|
namespace Shared.Models.Online.Settings
|
|
{
|
|
public class KinoPubSettings : BaseSettings, ICloneable
|
|
{
|
|
public KinoPubSettings(string plugin, string host = null)
|
|
{
|
|
this.plugin = plugin;
|
|
|
|
if (host != null)
|
|
this.host = host.StartsWith("http") ? host : Decrypt(host);
|
|
}
|
|
|
|
public string[] tokens { get; set; }
|
|
|
|
public string filetype { get; set; }
|
|
|
|
|
|
public KinoPubSettings Clone()
|
|
{
|
|
return (KinoPubSettings)MemberwiseClone();
|
|
}
|
|
|
|
object ICloneable.Clone()
|
|
{
|
|
return MemberwiseClone();
|
|
}
|
|
}
|
|
}
|