示例#1
0
 private void Save(DotNetType type, string directory, string filename)
 {
     using (StreamWriter writer = new StreamWriter(Path.Combine(directory, FormatFilename(filename))))
     {
         writer.Write(type.ToMarkdownFile().ToMarkdownString());
     }
 }