public Write ( |
||
writer | ||
options | ||
리턴 | void |
public static List <ParseException> Compact(string inputFile, string inputSource, TextWriter output, string copyright, string timeStamp, CssCompactor.Options options) { if (output == null) { throw new NullReferenceException("Output TextWriter was null."); } // write out header with copyright and timestamp CssCompactor.WriteHeader(output, copyright, timeStamp); // verify, compact and write out results CssParser parser = new CssParser(inputFile, inputSource); parser.Write(output, options); // return any errors return(parser.Errors); }
public static List<ParseException> Compact(string inputFile, string inputSource, TextWriter output, string copyright, string timeStamp, CssCompactor.Options options) { if (output == null) { throw new NullReferenceException("Output TextWriter was null."); } // write out header with copyright and timestamp CssCompactor.WriteHeader(output, copyright, timeStamp); // verify, compact and write out results CssParser parser = new CssParser(inputFile, inputSource); parser.Write(output, options); // return any errors return parser.Errors; }