This commit is contained in:
2025-10-27 17:39:18 -04:00
commit 31f723bea4
1579 changed files with 642409 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
using Prefab.Shared.Catalog.Categories;
using Prefab.Shared.Catalog.Products;
namespace Prefab.Shared.Catalog;
/// <summary>
/// Provides HTTP-based access to module-related operations, exposing product and category management functionality
/// through their respective clients.
/// </summary>
/// <param name="categoryClient">The category client used to perform category-related operations. Cannot be null.</param>
/// <param name="productClient">The product client used to retrieve product configuration. Cannot be null.</param>
/// <param name="priceQuoteClient">The client used to request price quotations. Cannot be null.</param>
public sealed class ModuleClientHttp(
ICategoryClient categoryClient,
IProductClient productClient,
IPriceQuoteClient priceQuoteClient) : IModuleClient
{
public ICategoryClient Category { get; } = categoryClient;
public IProductClient Product { get; } = productClient;
public IPriceQuoteClient PriceQuote { get; } = priceQuoteClient;
}