Try your search with a different keyword or use * as a wildcard.
using Nop.Core;
using WebOptimizer;
namespace Nop.Web.Framework.WebOptimizer;
///
/// Represents the default INopAssetHelper implementation when bundling is disabled
///
public partial class NopDefaultAssetHelper : INopAssetHelper
{
#region Methods
///
/// Return a bundle route with cache busting
///
/// Bundle
public string CacheBusting(IAsset asset)
{
return asset.Route;
}
///
/// Get or create a CSS bundle
///
/// A unique route to bundle
/// A list of relative file names of the sources to optimize
public IAsset GetOrCreateCssAsset(string bundleKey, params string[] sourceFiles)
{
return new DefaultAsset(bundleKey, MimeTypes.TextCss);
}
///
/// Get or create a JavaScript bundle
///
/// A unique route to bundle
/// A list of relative file names of the sources to optimize
public IAsset GetOrCreateJavaScriptAsset(string bundleKey, params string[] sourceFiles)
{
return new DefaultAsset(bundleKey, MimeTypes.TextJavascript);
}
#endregion
}