* 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
@@ -1,8 +1,4 @@
using NzbDrone.Common.Exceptions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NzbDrone.Core.Exceptions
{
@@ -1,8 +1,4 @@
using NzbDrone.Common.Exceptions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NzbDrone.Core.Exceptions
{
@@ -4,11 +4,13 @@ namespace NzbDrone.Core.Exceptions
{
public class BadRequestException : DownstreamException
{
public BadRequestException(string message) : base(HttpStatusCode.BadRequest, message)
public BadRequestException(string message)
: base(HttpStatusCode.BadRequest, message)
{
}
public BadRequestException(string message, params object[] args) : base(HttpStatusCode.BadRequest, message, args)
public BadRequestException(string message, params object[] args)
: base(HttpStatusCode.BadRequest, message, args)
{
}
}
@@ -7,7 +7,8 @@ namespace NzbDrone.Core.Exceptions
{
public HttpStatusCode StatusCode { get; private set; }
public DownstreamException(HttpStatusCode statusCode, string message, params object[] args) : base(message, args)
public DownstreamException(HttpStatusCode statusCode, string message, params object[] args)
: base(message, args)
{
StatusCode = statusCode;
}
@@ -7,7 +7,8 @@ namespace NzbDrone.Core.Exceptions
{
public HttpStatusCode StatusCode { get; private set; }
public NzbDroneClientException(HttpStatusCode statusCode, string message, params object[] args) : base(message, args)
public NzbDroneClientException(HttpStatusCode statusCode, string message, params object[] args)
: base(message, args)
{
StatusCode = statusCode;
}
@@ -8,7 +8,8 @@ namespace NzbDrone.Core.Exceptions
{
public ReleaseInfo Release { get; set; }
public ReleaseDownloadException(ReleaseInfo release, string message, params object[] args) : base(message, args)
public ReleaseDownloadException(ReleaseInfo release, string message, params object[] args)
: base(message, args)
{
Release = release;
}