* Stylecop Rules and Fixes
This commit is contained in:
Qstick
2020-01-03 07:49:24 -05:00
committed by GitHub
parent 63d669178d
commit f77a2feeef
1307 changed files with 8704 additions and 7404 deletions
@@ -8,7 +8,8 @@ namespace NzbDrone.Core.Notifications.Pushover
{
}
public InvalidResponseException(string message) : base(message)
public InvalidResponseException(string message)
: base(message)
{
}
}
@@ -7,7 +7,7 @@ namespace NzbDrone.Core.Notifications.Pushover
public class Pushover : NotificationBase<PushoverSettings>
{
private readonly IPushoverProxy _proxy;
public Pushover(IPushoverProxy proxy)
{
_proxy = proxy;
@@ -2,8 +2,8 @@ using System;
using FluentValidation.Results;
using NLog;
using NzbDrone.Common.Extensions;
using RestSharp;
using NzbDrone.Core.Rest;
using RestSharp;
namespace NzbDrone.Core.Notifications.Pushover
{
@@ -15,8 +15,8 @@ namespace NzbDrone.Core.Notifications.Pushover
public class PushoverProxy : IPushoverProxy
{
private readonly Logger _logger;
private const string URL = "https://api.pushover.net/1/messages.json";
private readonly Logger _logger;
public PushoverProxy(Logger logger)
{
@@ -45,7 +45,6 @@ namespace NzbDrone.Core.Notifications.Pushover
request.AddParameter("sound", settings.Sound);
}
client.ExecuteAndValidate(request);
}
@@ -1,8 +1,8 @@
using System.Collections.Generic;
using FluentValidation;
using NzbDrone.Core.Annotations;
using NzbDrone.Core.ThingiProvider;
using NzbDrone.Core.Validation;
using System.Collections.Generic;
namespace NzbDrone.Core.Notifications.Pushover
{