mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-28 10:48:46 +00:00
30 lines
519 B
C#
30 lines
519 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace NzbDrone.Core.Notifications
|
|
{
|
|
public interface INotifcationSettings
|
|
{
|
|
bool IsValid { get; }
|
|
}
|
|
|
|
public class NullSetting : INotifcationSettings
|
|
{
|
|
public static NullSetting Instance = new NullSetting();
|
|
|
|
private NullSetting()
|
|
{
|
|
|
|
}
|
|
|
|
public bool IsValid
|
|
{
|
|
get
|
|
{
|
|
return true;
|
|
}
|
|
}
|
|
}
|
|
}
|