Webiant Logo Webiant Logo
  1. No results found.

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

ILanguageModelFactory.cs

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

namespace Nop.Web.Areas.Admin.Factories;

/// 
/// Represents the language model factory
/// 
public partial interface ILanguageModelFactory
{
    /// 
    /// Prepare language search model
    /// 
    /// Language search model
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the language search model
    /// 
    Task PrepareLanguageSearchModelAsync(LanguageSearchModel searchModel);

    /// 
    /// Prepare paged language list model
    /// 
    /// Language search model
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the language list model
    /// 
    Task PrepareLanguageListModelAsync(LanguageSearchModel searchModel);

    /// 
    /// Prepare language model
    /// 
    /// Language model
    /// Language
    /// Whether to exclude populating of some properties of model
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the language model
    /// 
    Task PrepareLanguageModelAsync(LanguageModel model, Language language, bool excludeProperties = false);

    /// 
    /// Prepare paged locale resource list model
    /// 
    /// Locale resource search model
    /// Language
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the locale resource list model
    /// 
    Task PrepareLocaleResourceListModelAsync(LocaleResourceSearchModel searchModel, Language language);
}