Убрать XML-доки из реализаций фабрик
This commit is contained in:
@@ -6,9 +6,6 @@ using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace Deal.Infrastructure.Integrations.Services;
|
||||
|
||||
/// <summary>
|
||||
/// Фабрика декоратора бюджетного гейта классификатора
|
||||
/// </summary>
|
||||
public sealed class AiClassifierFactory : IAiClassifierFactory
|
||||
{
|
||||
private readonly GrpcAiClassifier _paidClassifier;
|
||||
@@ -36,7 +33,6 @@ public sealed class AiClassifierFactory : IAiClassifierFactory
|
||||
_logger = logger;
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
IAiClassifier IAiClassifierFactory.Create() =>
|
||||
new BudgetedAiClassifier(_paidClassifier, _localClassifier, _tenantLimits, _tenantContext, _logger);
|
||||
}
|
||||
|
||||
@@ -6,9 +6,6 @@ using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace Deal.Infrastructure.Integrations.Services;
|
||||
|
||||
/// <summary>
|
||||
/// Фабрика декоратора бюджетного гейта ИИ-инструментов
|
||||
/// </summary>
|
||||
public sealed class AiToolsFactory : IAiToolsFactory
|
||||
{
|
||||
private readonly GrpcAiTools _paidTools;
|
||||
@@ -32,6 +29,5 @@ public sealed class AiToolsFactory : IAiToolsFactory
|
||||
_logger = logger;
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
IAiTools IAiToolsFactory.Create() => new BudgetedAiTools(_paidTools, _tenantLimits, _tenantContext, _logger);
|
||||
}
|
||||
|
||||
@@ -6,9 +6,6 @@ using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace Deal.Infrastructure.Integrations.Storage.Services;
|
||||
|
||||
/// <summary>
|
||||
/// Фабрика файлового хранилища: MinIO при заполненной секции, иначе локальный каталог
|
||||
/// </summary>
|
||||
public sealed class FileStorageFactory : IFileStorageFactory
|
||||
{
|
||||
private readonly StorageOptions _options;
|
||||
@@ -28,7 +25,6 @@ public sealed class FileStorageFactory : IFileStorageFactory
|
||||
_minioLogger = minioLogger;
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
IFileStorage IFileStorageFactory.Create() =>
|
||||
_options.Minio.IsConfigured()
|
||||
? new MinioFileStorage(_options.Minio, _minioLogger)
|
||||
|
||||
@@ -5,9 +5,6 @@ using Deal.Modules.Tenants.Application.Models;
|
||||
|
||||
namespace Deal.Infrastructure.Persistence.Services;
|
||||
|
||||
/// <summary>
|
||||
/// Фабрика EF-адаптера хранилища лимитов с дефолт-бюджетом из конфигурации
|
||||
/// </summary>
|
||||
public sealed class TenantLimitStoreFactory : ITenantLimitStoreFactory
|
||||
{
|
||||
private readonly DealDbContext _dbContext;
|
||||
@@ -21,6 +18,5 @@ public sealed class TenantLimitStoreFactory : ITenantLimitStoreFactory
|
||||
_defaults = defaults;
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
ITenantLimitStore ITenantLimitStoreFactory.Create() => new TenantLimitStore(_dbContext, _defaults);
|
||||
}
|
||||
|
||||
@@ -3,9 +3,6 @@ using Deal.Modules.Settings.Application.Abstractions;
|
||||
|
||||
namespace Deal.Infrastructure.Security.Services;
|
||||
|
||||
/// <summary>
|
||||
/// Фабрика AES-256-GCM-шифра по ключу приложения
|
||||
/// </summary>
|
||||
public sealed class SecretCipherFactory : ISecretCipherFactory
|
||||
{
|
||||
private readonly EncryptionKeyProvider _keyProvider;
|
||||
@@ -16,6 +13,5 @@ public sealed class SecretCipherFactory : ISecretCipherFactory
|
||||
_keyProvider = keyProvider;
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
ISecretCipher ISecretCipherFactory.Create() => new AesGcmSecretCipher(_keyProvider.GetKey());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user