コード例 #1
0
        public static string GetDiagramText(ClassDiagram diagram)
        {
            var buffer    = new StringBuilder();
            var generator = new BufferedClassDiagramGenerator(diagram, buffer);

            generator.Generate();

            return(buffer.ToString());
        }
コード例 #2
0
        public static string GetDiagramText(ClassDiagram diagram)
        {
            var buffer = new StringBuilder();
            var generator = new BufferedClassDiagramGenerator(diagram, buffer);
            
            generator.Generate();

            return buffer.ToString();
        }