Webiant Logo Webiant Logo
  1. No results found.

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

IJsonLdModelFactory.cs

using Nop.Web.Models.Catalog;
using Nop.Web.Models.JsonLD;

namespace Nop.Web.Factories;

/// 
/// Represents JSON-LD model factory
/// 
public partial interface IJsonLdModelFactory
{
    /// 
    /// Prepare JSON-LD category breadcrumb model
    /// 
    /// List of category models
    /// A task that represents the asynchronous operation
    /// The task result contains JSON-LD category breadcrumb model
    /// 
    Task PrepareJsonLdCategoryBreadcrumbAsync(IList categoryModels);

    /// 
    /// Prepare JSON-LD product breadcrumb model
    /// 
    /// Product breadcrumb model
    /// A task that represents the asynchronous operation
    /// The task result contains JSON-LD product breadcrumb model
    /// 
    Task PrepareJsonLdProductBreadcrumbAsync(ProductDetailsModel.ProductBreadcrumbModel breadcrumbModel);

    /// 
    /// Prepare JSON-LD product model
    /// 
    /// Product details model
    /// Product URL
    /// A task that represents the asynchronous operation
    /// The task result contains JSON-LD product model
    /// 
    Task PrepareJsonLdProductAsync(ProductDetailsModel model, string productUrl = null);
}