public AzureTransform(GZipBundleConfig config) { _config = config; }
public AzureTransform(string container, string azureAccountName = null, string azureAccessKey = null, string cdnPath = null, string secureCdnPath = null, int?bundleCacheTTL = null, int?cachePollTime = null, bool?useCompression = null) { _config = new GZipBundleConfig("", container, azureAccountName, azureAccessKey, cdnPath, secureCdnPath, bundleCacheTTL.HasValue ? bundleCacheTTL.Value : 0, cachePollTime.HasValue ? cachePollTime.Value : 0, useCompression); }
/// <summary> /// Creates a GzipBundle of StyleSheet files using CssMinify and optional gzip compression /// </summary> /// <param name="config">Configures the bundle properties.</param> public CSSBundle(GZipBundleConfig config) : base(config, new IBundleTransform[] { new CssMinify(), new AzureTransform(config) }) { }
public GZipBundle(string virtualPath, string container, string cdnPath = null, string secureCdnPath = null, bool?useCompression = null, params IBundleTransform[] transforms) : base(virtualPath, null, transforms) { _config = new GZipBundleConfig(virtualPath, container, cdnPath, secureCdnPath, useCompression.Value); }
public GZipBundle(GZipBundleConfig config, params IBundleTransform[] transforms) : base(config.VirtualPath, null, transforms) { _config = config; }