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 }; }