Пример #1
0
        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
        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>();
        }