public string DoMinify(JsMin minifier, FileInfo input) { using (var reader = File.OpenText(input.FullName)) { var result = minifier.Minify(reader); _output.WriteLine("Minified: " + result); return result; } }
public string DoMinify(JsMin minifier, FileInfo input) { using (var reader = File.OpenText(input.FullName)) { var result = minifier.Minify(reader); _output.WriteLine("Minified: " + result); return(result); } }
public string DoMinify(JsMin minifier, string input) { using (var reader = new StringReader(input)) { var result = minifier.Minify(reader); _output.WriteLine("Minified: " + result); return result; } }
public string DoMinify(JsMin minifier, string input) { using (var reader = new StringReader(input)) { var result = minifier.Minify(reader); _output.WriteLine("Minified: " + result); return(result); } }