コード例 #1
0
ファイル: ClassDiagram.cs プロジェクト: JoeHosman/sharpDox
        public ClassDiagram(string typeIdentifier, string name, string kind, string accessibility, string attribute)
        {
            _classDiagramPngRenderer = new ClassDiagramPngRenderer();
            _classDiagramSvgRenderer = new ClassDiagramSvgRenderer();

            TypeIdentifier = typeIdentifier;
            Name = name;
            Accessibility = string.Format("{0} {1} {2}", accessibility, attribute, kind);

            MethodRows = new List<ClassDiagramRow>();
            FieldRows = new List<ClassDiagramRow>();
            PropertyRows = new List<ClassDiagramRow>();
            EventRows = new List<ClassDiagramRow>();
        }
コード例 #2
0
ファイル: ClassDiagram.cs プロジェクト: groovyghoul/sharpDox
        public ClassDiagram(string typeIdentifier, string name, string kind, string accessibility, string attribute)
        {
            _classDiagramPngRenderer = new ClassDiagramPngRenderer();
            _classDiagramSvgRenderer = new ClassDiagramSvgRenderer();

            TypeIdentifier = typeIdentifier;
            Name           = name;
            Accessibility  = string.Format("{0} {1} {2}", accessibility, attribute, kind);

            ConstructorRows = new List <ClassDiagramRow>();
            MethodRows      = new List <ClassDiagramRow>();
            FieldRows       = new List <ClassDiagramRow>();
            PropertyRows    = new List <ClassDiagramRow>();
            EventRows       = new List <ClassDiagramRow>();
        }