From a9d26b6ffc95a3d6b8d204116fd840d27284791d Mon Sep 17 00:00:00 2001 From: stepan Date: Sun, 13 Sep 2026 04:17:43 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B1=D1=80=D0=B0=D1=82=D1=8C=20XML-?= =?UTF-8?q?=D0=B4=D0=BE=D0=BA=D0=B8=20=D0=B8=D0=B7=20=D1=80=D0=B5=D0=B0?= =?UTF-8?q?=D0=BB=D0=B8=D0=B7=D0=B0=D1=86=D0=B8=D0=B9=20=D1=84=D0=B0=D0=B1?= =?UTF-8?q?=D1=80=D0=B8=D0=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Integrations/Services/AiClassifierFactory.cs | 4 ---- .../Integrations/Services/AiToolsFactory.cs | 4 ---- .../Integrations/Storage/Services/FileStorageFactory.cs | 4 ---- .../Persistence/Services/TenantLimitStoreFactory.cs | 4 ---- .../Security/Services/SecretCipherFactory.cs | 4 ---- 5 files changed, 20 deletions(-) diff --git a/src/core/Deal.Infrastructure/Integrations/Services/AiClassifierFactory.cs b/src/core/Deal.Infrastructure/Integrations/Services/AiClassifierFactory.cs index ab351e9..0f952a8 100644 --- a/src/core/Deal.Infrastructure/Integrations/Services/AiClassifierFactory.cs +++ b/src/core/Deal.Infrastructure/Integrations/Services/AiClassifierFactory.cs @@ -6,9 +6,6 @@ using Microsoft.Extensions.Logging; namespace Deal.Infrastructure.Integrations.Services; -/// -/// Фабрика декоратора бюджетного гейта классификатора -/// public sealed class AiClassifierFactory : IAiClassifierFactory { private readonly GrpcAiClassifier _paidClassifier; @@ -36,7 +33,6 @@ public sealed class AiClassifierFactory : IAiClassifierFactory _logger = logger; } - /// IAiClassifier IAiClassifierFactory.Create() => new BudgetedAiClassifier(_paidClassifier, _localClassifier, _tenantLimits, _tenantContext, _logger); } diff --git a/src/core/Deal.Infrastructure/Integrations/Services/AiToolsFactory.cs b/src/core/Deal.Infrastructure/Integrations/Services/AiToolsFactory.cs index 2e922f6..0676ace 100644 --- a/src/core/Deal.Infrastructure/Integrations/Services/AiToolsFactory.cs +++ b/src/core/Deal.Infrastructure/Integrations/Services/AiToolsFactory.cs @@ -6,9 +6,6 @@ using Microsoft.Extensions.Logging; namespace Deal.Infrastructure.Integrations.Services; -/// -/// Фабрика декоратора бюджетного гейта ИИ-инструментов -/// public sealed class AiToolsFactory : IAiToolsFactory { private readonly GrpcAiTools _paidTools; @@ -32,6 +29,5 @@ public sealed class AiToolsFactory : IAiToolsFactory _logger = logger; } - /// IAiTools IAiToolsFactory.Create() => new BudgetedAiTools(_paidTools, _tenantLimits, _tenantContext, _logger); } diff --git a/src/core/Deal.Infrastructure/Integrations/Storage/Services/FileStorageFactory.cs b/src/core/Deal.Infrastructure/Integrations/Storage/Services/FileStorageFactory.cs index 9fd60e7..eb15ae4 100644 --- a/src/core/Deal.Infrastructure/Integrations/Storage/Services/FileStorageFactory.cs +++ b/src/core/Deal.Infrastructure/Integrations/Storage/Services/FileStorageFactory.cs @@ -6,9 +6,6 @@ using Microsoft.Extensions.Logging; namespace Deal.Infrastructure.Integrations.Storage.Services; -/// -/// Фабрика файлового хранилища: MinIO при заполненной секции, иначе локальный каталог -/// public sealed class FileStorageFactory : IFileStorageFactory { private readonly StorageOptions _options; @@ -28,7 +25,6 @@ public sealed class FileStorageFactory : IFileStorageFactory _minioLogger = minioLogger; } - /// IFileStorage IFileStorageFactory.Create() => _options.Minio.IsConfigured() ? new MinioFileStorage(_options.Minio, _minioLogger) diff --git a/src/core/Deal.Infrastructure/Persistence/Services/TenantLimitStoreFactory.cs b/src/core/Deal.Infrastructure/Persistence/Services/TenantLimitStoreFactory.cs index 2ef77c3..3764624 100644 --- a/src/core/Deal.Infrastructure/Persistence/Services/TenantLimitStoreFactory.cs +++ b/src/core/Deal.Infrastructure/Persistence/Services/TenantLimitStoreFactory.cs @@ -5,9 +5,6 @@ using Deal.Modules.Tenants.Application.Models; namespace Deal.Infrastructure.Persistence.Services; -/// -/// Фабрика EF-адаптера хранилища лимитов с дефолт-бюджетом из конфигурации -/// public sealed class TenantLimitStoreFactory : ITenantLimitStoreFactory { private readonly DealDbContext _dbContext; @@ -21,6 +18,5 @@ public sealed class TenantLimitStoreFactory : ITenantLimitStoreFactory _defaults = defaults; } - /// ITenantLimitStore ITenantLimitStoreFactory.Create() => new TenantLimitStore(_dbContext, _defaults); } diff --git a/src/core/Deal.Infrastructure/Security/Services/SecretCipherFactory.cs b/src/core/Deal.Infrastructure/Security/Services/SecretCipherFactory.cs index 1eb5efb..eabc786 100644 --- a/src/core/Deal.Infrastructure/Security/Services/SecretCipherFactory.cs +++ b/src/core/Deal.Infrastructure/Security/Services/SecretCipherFactory.cs @@ -3,9 +3,6 @@ using Deal.Modules.Settings.Application.Abstractions; namespace Deal.Infrastructure.Security.Services; -/// -/// Фабрика AES-256-GCM-шифра по ключу приложения -/// public sealed class SecretCipherFactory : ISecretCipherFactory { private readonly EncryptionKeyProvider _keyProvider; @@ -16,6 +13,5 @@ public sealed class SecretCipherFactory : ISecretCipherFactory _keyProvider = keyProvider; } - /// ISecretCipher ISecretCipherFactory.Create() => new AesGcmSecretCipher(_keyProvider.GetKey()); }