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()); }