public static MDTextFile ReadFile(string fileName, string encoding) { MDTextFile tf = new MDTextFile(); tf.Read(fileName, encoding); return(tf); }
public static MDTextFile ReadFile(string path, Stream content) { MDTextFile tf = new MDTextFile(); tf.name = path; tf.Read(content, null); return(tf); }