public HubJavaScriptMinifier(IResourceCompressor resourceCompressor) { if (resourceCompressor == null) { throw new ArgumentNullException("resourceCompressor"); } this.resourceCompressor = resourceCompressor; }
public JavaScriptHelper(HttpContextBase context, IResourceCompressor compressor) { Ensure.That(() => context).IsNotNull(); Ensure.That(() => compressor).IsNotNull(); this.context = context; this.compressor = compressor; }
public JavaScriptHelper(HttpContextBase context, IResourceCompressor compressor) { if (context == null) { throw new ArgumentNullException("context"); } if (compressor == null) { throw new ArgumentNullException("compressor"); } this.context = context; this.compressor = compressor; }
public ResourceController(IList<ResourceAssemblyLocation> locations, IResourceCompressor compressor) { Ensure.That(() => locations).IsNotNull(); Ensure.That(() => compressor).IsNotNull(); this.locations = locations; this.compressor = compressor; sharedLocation = new ResourceAssemblyLocation { Assembly = Assembly.GetAssembly(typeof(FileSystemHelper)), Namespace = Constants.SharedResourceNamespaceRoot }; }
public ResourceController(IList <ResourceAssemblyLocation> locations, IResourceCompressor compressor) { if (locations == null) { throw new ArgumentNullException("locations"); } if (compressor == null) { throw new ArgumentNullException("compressor"); } this.locations = locations; this.compressor = compressor; sharedLocation = new ResourceAssemblyLocation { Assembly = Assembly.GetAssembly(typeof(FileSystemHelper)), Namespace = Constants.SharedResourceNamespaceRoot }; }
public ResourceController(IList<ResourceAssemblyLocation> locations, IResourceCompressor compressor) { if (locations == null) { throw new ArgumentNullException("locations"); } if (compressor == null) { throw new ArgumentNullException("compressor"); } this.locations = locations; this.compressor = compressor; sharedLocation = new ResourceAssemblyLocation { Assembly = Assembly.GetAssembly(typeof (FileSystemHelper)), Namespace = Constants.SharedResourceNamespaceRoot }; }
public HubJavaScriptMinifier(IResourceCompressor resourceCompressor) { Ensure.That(() => resourceCompressor).IsNotNull(); this.resourceCompressor = resourceCompressor; }
public WebResourceLocator(HttpContext context, IResourceCompressor compressor) { this.context = context; this.compressor = compressor; resolver = FileNameResolver.GetResolver(); }