Skip to content

Commit

Permalink
revert: CoreSharp.Validation.Abstractions namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
cime committed Mar 1, 2021
1 parent fb4aff4 commit 7a87301
Show file tree
Hide file tree
Showing 21 changed files with 7 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
using Breeze.NHibernate.Metadata;
using CoreSharp.Common.Extensions;
using CoreSharp.Validation;
using CoreSharp.Validation.Abstractions;
using FluentValidation;
using FluentValidation.Internal;
using FluentValidation.Validators;
Expand Down
1 change: 0 additions & 1 deletion CoreSharp.Cqrs.Grpc.Client/GrpcCqrsClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
using CoreSharp.Cqrs.Grpc.Contracts;
using CoreSharp.Cqrs.Resolver;
using CoreSharp.Validation;
using CoreSharp.Validation.Abstractions;
using Grpc.Core;
using Microsoft.Extensions.Logging;

Expand Down
1 change: 0 additions & 1 deletion CoreSharp.Cqrs.Grpc.Processors/GrpcChannelHandlerUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
using CoreSharp.Cqrs.Grpc.Common;
using CoreSharp.Cqrs.Resolver;
using CoreSharp.Validation;
using CoreSharp.Validation.Abstractions;
using Grpc.Core;
using Microsoft.Extensions.Logging;
using SimpleInjector;
Expand Down
1 change: 0 additions & 1 deletion CoreSharp.Cqrs.Grpc.Shared/Models/GrpcResponseEnvelope.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using CoreSharp.Validation;
using CoreSharp.Validation.Abstractions;

namespace CoreSharp.Cqrs.Grpc.Common
{
Expand Down
1 change: 0 additions & 1 deletion CoreSharp.Cqrs.Mvc/ControllerBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
using CoreSharp.Cqrs.Mvc.Commands;
using CoreSharp.Cqrs.Mvc.Queries;
using CoreSharp.Mvc.Formatters;
using CoreSharp.Validation.Abstractions;

namespace CoreSharp.Cqrs.Mvc
{
Expand Down
1 change: 0 additions & 1 deletion CoreSharp.Cqrs.Mvc/CqrsExceptionExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using CoreSharp.Validation;
using CoreSharp.Validation.Abstractions;

namespace CoreSharp.Cqrs.Mvc
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using System.Threading.Tasks;
using CoreSharp.Cqrs.Command;
using CoreSharp.Validation;
using CoreSharp.Validation.Abstractions;
using FluentValidation;
using SimpleInjector;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using System.Threading.Tasks;
using CoreSharp.Cqrs.Query;
using CoreSharp.Validation;
using CoreSharp.Validation.Abstractions;
using FluentValidation;
using SimpleInjector;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System;
using CoreSharp.Cqrs.Command;
using CoreSharp.Validation;
using CoreSharp.Validation.Abstractions;
using FluentValidation;
using SimpleInjector;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System;
using CoreSharp.Cqrs.Query;
using CoreSharp.Validation;
using CoreSharp.Validation.Abstractions;
using FluentValidation;
using SimpleInjector;

Expand Down
1 change: 0 additions & 1 deletion CoreSharp.Cqrs.Validation/ValidateUtil.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System;
using System.Threading.Tasks;
using CoreSharp.Validation;
using CoreSharp.Validation.Abstractions;
using FluentValidation;

namespace CoreSharp.Cqrs.Validation
Expand Down
1 change: 0 additions & 1 deletion CoreSharp.Cqrs.Validation/ValidationExceptionExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Linq;
using CoreSharp.Validation;
using CoreSharp.Validation.Abstractions;

namespace FluentValidation
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace CoreSharp.Validation.Abstractions.Attributes
namespace CoreSharp.Validation.Attributes
{
[AttributeUsage(AttributeTargets.Class)]
public class IgnoreValidationAttributesAttribute : Attribute
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<LangVersion>9.0</LangVersion>
<RootNamespace>CoreSharp.Validation</RootNamespace>
</PropertyGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace CoreSharp.Validation.Abstractions
namespace CoreSharp.Validation
{
public class ValidationErrorResponse
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace CoreSharp.Validation.Abstractions
namespace CoreSharp.Validation
{
public class ValidationErrorResponseException : Exception
{
Expand Down
2 changes: 1 addition & 1 deletion CoreSharp.Validation.Abstractions/ValidationRuleSet.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace CoreSharp.Validation.Abstractions
namespace CoreSharp.Validation
{
public class ValidationRuleSet
{
Expand Down
1 change: 0 additions & 1 deletion CoreSharp.Validation.Tests/AttributeTests.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using CoreSharp.Common.Tests;
using CoreSharp.Validation.Abstractions;
using CoreSharp.Validation.Tests.Models.Attributes;
using FluentValidation;
using SimpleInjector;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using CoreSharp.Common.Attributes;
using CoreSharp.Validation.Abstractions.Attributes;
using CoreSharp.Validation.Attributes;

namespace CoreSharp.Validation.Tests.Models.Attributes
{
Expand Down
1 change: 0 additions & 1 deletion CoreSharp.Validation.Tests/ValidationTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using System.Collections.Generic;
using System.Threading.Tasks;
using CoreSharp.Common.Tests;
using CoreSharp.Validation.Abstractions;
using CoreSharp.Validation.Tests.Models;
using FluentValidation;
using FluentValidation.Results;
Expand Down
3 changes: 1 addition & 2 deletions CoreSharp.Validation/Validator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
using System.Linq.Expressions;
using System.Reflection;
using CoreSharp.Common.Attributes;
using CoreSharp.Validation.Abstractions;
using CoreSharp.Validation.Abstractions.Attributes;
using CoreSharp.Validation.Attributes;
using CoreSharp.Validation.Extensions;
using FluentValidation;
using FluentValidation.Internal;
Expand Down

0 comments on commit 7a87301

Please sign in to comment.