public AppResourcesCompiler (string virtualPath) { this.virtualPath = virtualPath; this.isGlobal = false; this.files = new AppResourceFilesCollection (HttpContext.Current.Request.MapPath (virtualPath)); this.cultureFiles = new Dictionary <string, List <string>> (StringComparer.OrdinalIgnoreCase); }
public AppResourcesCompiler (HttpContext context) { this.isGlobal = true; this.files = new AppResourceFilesCollection (context); this.cultureFiles = new Dictionary <string, List <string>> (StringComparer.OrdinalIgnoreCase); }