Webiant Logo Webiant Logo
  1. No results found.

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

WebOptimizerConfigModel.cs

using Nop.Web.Framework.Models;
using Nop.Web.Framework.Mvc.ModelBinding;

namespace Nop.Web.Areas.Admin.Models.Settings;

/// 
/// Represents WebOptimizer config model
/// 
public partial record WebOptimizerConfigModel : BaseNopModel, IConfigModel
{
    #region Properties

    [NopResourceDisplayName("Admin.Configuration.AppSettings.WebOptimizer.EnableJavaScriptBundling")]
    public bool EnableJavaScriptBundling { get; set; }

    [NopResourceDisplayName("Admin.Configuration.AppSettings.WebOptimizer.EnableCssBundling")]
    public bool EnableCssBundling { get; set; }

    [NopResourceDisplayName("Admin.Configuration.AppSettings.WebOptimizer.EnableDiskCache")]
    public bool EnableDiskCache { get; set; }

    [NopResourceDisplayName("Admin.Configuration.AppSettings.WebOptimizer.CacheDirectory")]
    public string CacheDirectory { get; set; }

    [NopResourceDisplayName("Admin.Configuration.AppSettings.WebOptimizer.JavaScriptBundleSuffix")]
    public string JavaScriptBundleSuffix { get; set; }

    [NopResourceDisplayName("Admin.Configuration.AppSettings.WebOptimizer.CssBundleSuffix")]
    public string CssBundleSuffix { get; set; }

    #endregion
}