Lidarr/NzbDrone.Core/Notifications/INotifcationSettings.cs

31 lines
519 B
C#
Raw Normal View History

2013-05-19 23:17:32 +00:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NzbDrone.Core.Notifications
2013-04-07 07:30:37 +00:00
{
2013-05-19 23:17:32 +00:00
public interface INotifcationSettings
2013-04-07 07:30:37 +00:00
{
bool IsValid { get; }
}
2013-05-19 23:17:32 +00:00
public class NullSetting : INotifcationSettings
2013-04-07 07:30:37 +00:00
{
public static NullSetting Instance = new NullSetting();
private NullSetting()
{
}
2013-04-07 07:30:37 +00:00
public bool IsValid
{
get
{
return true;
}
}
}
}