/// <summary> /// Translates the type declaration. /// </summary> /// <param name="type">The type declaration.</param> private void TranslateTypeDeclaration(ITypeDeclaration type) { if (type != null) { ClassModelData data = this.populator.BuildModelFromType(type); ClassDiagramRenderer renderer = new ClassDiagramRenderer(); renderer.Export(data); } }
/// <summary> /// Translates the namespace declaration. /// </summary> /// <param name="typeNamespace">The type namespace.</param> private void TranslateNamespaceDeclaration(INamespace typeNamespace) { if (typeNamespace != null) { IList<ClassModelData> modelData = this.populator.BuildModelFromNamespace(typeNamespace); ClassDiagramRenderer renderer = new ClassDiagramRenderer(); renderer.Export(modelData); } }