Skip to content

Commit

Permalink
Formatting and resharper warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
AKlaus committed Nov 5, 2023
1 parent 9dbe1d4 commit d46ea13
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/Mvc/IResult/DomainResultTo200OkResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Http;

// ReSharper disable CheckNamespace
// ReSharper disable InconsistentNaming

namespace DomainResults.Mvc;
Expand Down
4 changes: 3 additions & 1 deletion src/Mvc/IResult/DomainResultTo204NoContentResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Http;

// ReSharper disable once CheckNamespace
// ReSharper disable CheckNamespace
// ReSharper disable InconsistentNaming

namespace DomainResults.Mvc;

public static partial class DomainResultExtensions
Expand Down
1 change: 1 addition & 0 deletions src/Mvc/IResult/DomainResultToCustomResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Http;

// ReSharper disable CheckNamespace
// ReSharper disable InconsistentNaming

namespace DomainResults.Mvc;
Expand Down
2 changes: 2 additions & 0 deletions src/Mvc/IResult/DomainResultToResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Http;

// ReSharper disable CheckNamespace
// ReSharper disable InconsistentNaming

namespace DomainResults.Mvc;

//
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public static IEnumerable<object[]> TestCases
new object[] { (Func<(int, IDomainResult)>)(() => IDomainResult.ContentTooLarge<int>("1")), DomainOperationStatus.ContentTooLarge, new [] { "1" } },

new object[] { (Func<(int, IDomainResult)>)(() => IDomainResult.Failed<int>("1")), DomainOperationStatus.Failed, new[] { "1" } },
new object[] { (Func<(int, IDomainResult)>)(() => IDomainResult.Failed<int>(new[] { "1", "2" })), DomainOperationStatus.Failed, new[] { "1", "2" } },
new object[] { (Func<(int, IDomainResult)>)(() => IDomainResult.Failed<int>(new[] { "1", "2" })), DomainOperationStatus.Failed, new[] { "1", "2" } },
new object[] { (Func<(int, IDomainResult)>)(() => IDomainResult.Failed<int>(new[] { new ValidationResult("1") })), DomainOperationStatus.Failed, new[] { "1" } },

new object[] { (Func<(int, IDomainResult)>)(() => IDomainResult.CriticalDependencyError<int>()), DomainOperationStatus.CriticalDependencyError, new string[0] },
Expand Down

0 comments on commit d46ea13

Please sign in to comment.