Webiant Logo Webiant Logo
  1. No results found.

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

INopAssetHelper.cs

using WebOptimizer;

namespace Nop.Web.Framework.WebOptimizer;

/// 
/// Represents a bundle helper 
/// 
public partial interface INopAssetHelper
{
    /// 
    /// Get or create a JavaScript bundle
    /// 
    /// A unique route to bundle
    /// A list of relative file names of the sources to optimize
    IAsset GetOrCreateJavaScriptAsset(string bundleKey, params string[] sourceFiles);

    /// 
    /// Get or create a CSS bundle
    /// 
    /// A unique route to bundle
    /// A list of relative file names of the sources to optimize
    IAsset GetOrCreateCssAsset(string bundleKey, params string[] sourceFiles);

    /// 
    /// Return a bundle route with cache busting
    /// 
    /// Bundle
    string CacheBusting(IAsset asset);
}