Очистка мусора
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
namespace Knot.Shared.Infrastructure;
|
||||
|
||||
public class Class1
|
||||
{
|
||||
|
||||
}
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Vortex.Shared.Kernel;
|
||||
using Knot.Shared.Kernel;
|
||||
|
||||
namespace Vortex.Shared.Infrastructure;
|
||||
namespace Knot.Shared.Infrastructure;
|
||||
|
||||
public static class DependencyInjection
|
||||
{
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Vortex.Shared.Kernel\Vortex.Shared.Kernel.csproj" />
|
||||
<ProjectReference Include="..\Knot.Shared.Kernel\Knot.Shared.Kernel.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
+1
-1
@@ -3,7 +3,7 @@ using System.Text.Json;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace Vortex.Shared.Infrastructure.Middleware;
|
||||
namespace Knot.Shared.Infrastructure.Middleware;
|
||||
|
||||
public sealed class ExceptionHandlingMiddleware
|
||||
{
|
||||
+2
-2
@@ -1,9 +1,9 @@
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using System.Security.Claims;
|
||||
using Vortex.Shared.Kernel;
|
||||
using Knot.Shared.Kernel;
|
||||
using System.IdentityModel.Tokens.Jwt;
|
||||
|
||||
namespace Vortex.Shared.Infrastructure;
|
||||
namespace Knot.Shared.Infrastructure;
|
||||
|
||||
public sealed class UserContext : IUserContext
|
||||
{
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
using MediatR;
|
||||
|
||||
namespace Vortex.Shared.Kernel;
|
||||
namespace Knot.Shared.Kernel;
|
||||
|
||||
/// <summary>
|
||||
/// Маркерный интерфейс для корней агрегатов (Aggregate Roots).
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace Knot.Shared.Kernel;
|
||||
|
||||
public class Class1
|
||||
{
|
||||
|
||||
}
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace Vortex.Shared.Kernel;
|
||||
namespace Knot.Shared.Kernel;
|
||||
|
||||
/// <summary>
|
||||
/// Базовый класс для всех сущностей в системе.
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
using MediatR;
|
||||
|
||||
namespace Vortex.Shared.Kernel;
|
||||
namespace Knot.Shared.Kernel;
|
||||
|
||||
public interface ICommand : IRequest<Result> { }
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace Vortex.Shared.Kernel;
|
||||
namespace Knot.Shared.Kernel;
|
||||
|
||||
/// <summary>
|
||||
/// Интерфейс для паттерна Unit of Work, обеспечивающий атомарность операций в рамках одной транзакции БД.
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace Vortex.Shared.Kernel;
|
||||
namespace Knot.Shared.Kernel;
|
||||
|
||||
public interface IUserContext
|
||||
{
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace Vortex.Shared.Kernel;
|
||||
namespace Knot.Shared.Kernel;
|
||||
|
||||
public record UserInfo(Guid Id, string Username, string DisplayName, string? Avatar);
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace Vortex.Shared.Kernel;
|
||||
namespace Knot.Shared.Kernel;
|
||||
|
||||
/// <summary>
|
||||
/// Представляет ошибку в доменной логике.
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace Vortex.Shared.Kernel;
|
||||
namespace Knot.Shared.Kernel;
|
||||
|
||||
/// <summary>
|
||||
/// Базовый класс для объектов-значений (Value Objects).
|
||||
@@ -1,6 +0,0 @@
|
||||
namespace Vortex.Shared.Infrastructure;
|
||||
|
||||
public class Class1
|
||||
{
|
||||
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
namespace Vortex.Shared.Kernel;
|
||||
|
||||
public class Class1
|
||||
{
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user