Skip to content
This repository was archived by the owner on Oct 14, 2025. It is now read-only.

Commit 9a1cb69

Browse files
committed
refactor(General) unite all classes which used by user into union namespace ReversoAPI
Despite architecture based on ddd, all helpful classes moved into one namespace for convenient using From this time bounded context and layers are marked file structure only
1 parent da6947c commit 9a1cb69

69 files changed

Lines changed: 41 additions & 192 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

ReversoAPI.Web.Examples/Program.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
using ReversoAPI.Web.Shared.Domain.ValueObjects;
2-
3-
namespace ReversoAPI.Web.Examples
1+
namespace ReversoAPI.Web.Examples
42
{
53
internal class Program
64
{

ReversoAPI.Web.Tests/Clients/SpellingClientTests.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,9 @@
66
using System.Threading;
77
using System.Threading.Tasks;
88
using System.Collections.Generic;
9-
using ReversoAPI.Web.GrammarCheckFeature.Domain.Entities;
10-
using ReversoAPI.Web.GrammarCheckFeature.Domain.ValueObjects;
119
using ReversoAPI.Web.GrammarCheckFeature.Application.DTOs;
1210
using ReversoAPI.Web.GrammarCheckFeature.Application.Interfaces.Services;
1311
using ReversoAPI.Web.GrammarCheckFeature.Application.Services;
14-
using ReversoAPI.Web.Shared.Domain.ValueObjects;
1512
using ReversoAPI.Web.Shared.Infrastructure.Http;
1613
using ReversoAPI.Web.Shared.Infrastructure.Http.Interfaces;
1714

ReversoAPI.Web.Tests/Clients/TranslationClientTests.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@
99
using ReversoAPI.Web.TranslationFeature.Application.DTOs;
1010
using ReversoAPI.Web.TranslationFeature.Application.Interfaces.Services;
1111
using ReversoAPI.Web.TranslationFeature.Application.Services;
12-
using ReversoAPI.Web.TranslationFeature.Domain.Entities;
13-
using ReversoAPI.Web.TranslationFeature.Domain.ValueObjects;
14-
using ReversoAPI.Web.Shared.Domain.ValueObjects;
1512
using ReversoAPI.Web.Shared.Infrastructure.Http;
1613
using ReversoAPI.Web.Shared.Infrastructure.Http.Interfaces;
1714

ReversoAPI.Web.Tests/Extensions/ParseExtesionsTests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using Xunit;
2-
using ReversoAPI.Web.Shared.Domain.ValueObjects;
32
using ReversoAPI.Web.Shared.Domain.Extensions;
43

54
namespace ReversoAPI.Web.Tests.Extensions

ReversoAPI.Web.Tests/Parsers/ConjugationResponseParserTest.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@
33
using System.IO;
44
using System.Text;
55
using System.Collections.Generic;
6-
using ReversoAPI.Web.ConjugationFeature.Domain.Core.Entities;
76
using ReversoAPI.Web.ConjugationFeature.Domain.Core.Services;
8-
using ReversoAPI.Web.ConjugationFeature.Domain.Core.ValueObjects;
9-
using ReversoAPI.Web.Shared.Domain.ValueObjects;
107

118
namespace ReversoAPI.Web.Tests.Parsers
129
{

ReversoAPI.Web.Tests/Parsers/ContextResponseParserTest.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@
33
using System.IO;
44
using System.Text;
55
using System.Collections.Generic;
6-
using ReversoAPI.Web.ContextFeature.Domain.Core.Enities;
76
using ReversoAPI.Web.ContextFeature.Domain.Core.Services;
8-
using ReversoAPI.Web.ContextFeature.Domain.Core.ValueObjects;
9-
using ReversoAPI.Web.Shared.Domain.ValueObjects;
107

118
namespace ReversoAPI.Web.Tests.Parsers
129
{

ReversoAPI.Web.Tests/Parsers/SynonymsResponseParserTest.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@
33
using System.IO;
44
using System.Text;
55
using System.Collections.Generic;
6-
using ReversoAPI.Web.SynonymsFeature.Domain.Core.Entities;
76
using ReversoAPI.Web.SynonymsFeature.Domain.Core.Services;
8-
using ReversoAPI.Web.SynonymsFeature.Domain.Core.ValueObjects;
9-
using ReversoAPI.Web.Shared.Domain.ValueObjects;
107

118
namespace ReversoAPI.Web.Tests.Parsers
129
{

ReversoAPI.Web/ConjugationFeature/Application/ConjugationClient.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
using System.Threading;
22
using System.Threading.Tasks;
3-
using ReversoAPI.Web.ConjugationFeature.Domain.Core.Entities;
43
using ReversoAPI.Web.ConjugationFeature.Application.Validators;
54
using ReversoAPI.Web.ConjugationFeature.Application.Interfaces.Services;
6-
using ReversoAPI.Web.ConjugationFeature.Application.Interfaces;
7-
using ReversoAPI.Web.Shared.Domain.ValueObjects;
85

9-
namespace ReversoAPI.Web.ConjugationFeature.Application
6+
namespace ReversoAPI
107
{
118
public class ConjugationClient : IConjugationClient
129
{

ReversoAPI.Web/ConjugationFeature/Application/Interfaces/IConjugationClient.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
using System.Threading;
22
using System.Threading.Tasks;
3-
using ReversoAPI.Web.ConjugationFeature.Domain.Core.Entities;
4-
using ReversoAPI.Web.Shared.Domain.ValueObjects;
53

6-
namespace ReversoAPI.Web.ConjugationFeature.Application.Interfaces
4+
namespace ReversoAPI
75
{
86
public interface IConjugationClient
97
{

ReversoAPI.Web/ConjugationFeature/Application/Interfaces/Services/IConjugationService.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
using System.Threading;
22
using System.Threading.Tasks;
3-
using ReversoAPI.Web.ConjugationFeature.Domain.Core.Entities;
4-
using ReversoAPI.Web.Shared.Domain.ValueObjects;
53

64
namespace ReversoAPI.Web.ConjugationFeature.Application.Interfaces.Services
75
{

0 commit comments

Comments
 (0)