Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

IProductAttributeModelFactory.cs

using Nop.Core.Domain.Catalog;
using Nop.Web.Areas.Admin.Models.Catalog;

namespace Nop.Web.Areas.Admin.Factories;

/// 
/// Represents the product attribute model factory
/// 
public partial interface IProductAttributeModelFactory
{
    /// 
    /// Prepare product attribute search model
    /// 
    /// Product attribute search model
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the product attribute search model
    /// 
    Task PrepareProductAttributeSearchModelAsync(ProductAttributeSearchModel searchModel);

    /// 
    /// Prepare paged product attribute list model
    /// 
    /// Product attribute search model
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the product attribute list model
    /// 
    Task PrepareProductAttributeListModelAsync(ProductAttributeSearchModel searchModel);

    /// 
    /// Prepare product attribute model
    /// 
    /// Product attribute model
    /// Product attribute
    /// Whether to exclude populating of some properties of model
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the product attribute model
    /// 
    Task PrepareProductAttributeModelAsync(ProductAttributeModel model,
        ProductAttribute productAttribute, bool excludeProperties = false);

    /// 
    /// Prepare paged predefined product attribute value list model
    /// 
    /// Predefined product attribute value search model
    /// Product attribute
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the predefined product attribute value list model
    /// 
    Task PreparePredefinedProductAttributeValueListModelAsync(
        PredefinedProductAttributeValueSearchModel searchModel, ProductAttribute productAttribute);

    /// 
    /// Prepare predefined product attribute value model
    /// 
    /// Predefined product attribute value model
    /// Product attribute
    /// Predefined product attribute value
    /// Whether to exclude populating of some properties of model
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the predefined product attribute value model
    /// 
    Task PreparePredefinedProductAttributeValueModelAsync(PredefinedProductAttributeValueModel model,
        ProductAttribute productAttribute, PredefinedProductAttributeValue productAttributeValue, bool excludeProperties = false);

    /// 
    /// Prepare paged list model of products that use the product attribute
    /// 
    /// Search model of products that use the product attribute
    /// Product attribute
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the list model of products that use the product attribute
    /// 
    Task PrepareProductAttributeProductListModelAsync(ProductAttributeProductSearchModel searchModel,
        ProductAttribute productAttribute);
}