Webiant Logo Webiant Logo
  1. No results found.

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

ICommonModelFactory.cs

using Nop.Core.Domain.Vendors;
using Nop.Web.Models.Common;

namespace Nop.Web.Factories;

/// 
/// Represents the interface of the common models factory
/// 
public partial interface ICommonModelFactory
{
    /// 
    /// Prepare the logo model
    /// 
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the logo model
    /// 
    Task PrepareLogoModelAsync();

    /// 
    /// Prepare the language selector model
    /// 
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the language selector model
    /// 
    Task PrepareLanguageSelectorModelAsync();

    /// 
    /// Prepare the currency selector model
    /// 
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the currency selector model
    /// 
    Task PrepareCurrencySelectorModelAsync();

    /// 
    /// Prepare the tax type selector model
    /// 
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the ax type selector model
    /// 
    Task PrepareTaxTypeSelectorModelAsync();

    /// 
    /// Prepare the header links model
    /// 
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the header links model
    /// 
    Task PrepareHeaderLinksModelAsync();

    /// 
    /// Prepare the admin header links model
    /// 
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the admin header links model
    /// 
    Task PrepareAdminHeaderLinksModelAsync();

    /// 
    /// Prepare the social model
    /// 
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the social model
    /// 
    Task PrepareSocialModelAsync();

    /// 
    /// Prepare the footer model
    /// 
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the footer model
    /// 
    Task PrepareFooterModelAsync();

    /// 
    /// Prepare the contact us model
    /// 
    /// Contact us model
    /// Whether to exclude populating of model properties from the entity
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the contact us model
    /// 
    Task PrepareContactUsModelAsync(ContactUsModel model, bool excludeProperties);

    /// 
    /// Prepare the contact vendor model
    /// 
    /// Contact vendor model
    /// Vendor
    /// Whether to exclude populating of model properties from the entity
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the contact vendor model
    /// 
    Task PrepareContactVendorModelAsync(ContactVendorModel model, Vendor vendor,
        bool excludeProperties);

    /// 
    /// Prepare the store theme selector model
    /// 
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the store theme selector model
    /// 
    Task PrepareStoreThemeSelectorModelAsync();

    /// 
    /// Prepare the favicon model
    /// 
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the favicon model
    /// 
    Task PrepareFaviconAndAppIconsModelAsync();

    /// 
    /// Get robots.txt file
    /// 
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the robots.txt file as string
    /// 
    Task PrepareRobotsTextFileAsync();
}