C# Class NClass.AssemblyImport.NETImport

Datei anzeigen Open project: gbaychev/NClass Class Usage Examples

Public Methods

Method Description
ImportAssembly ( string fileName ) : bool

The main entry point of this class. Imports the assembly which is given as the parameter.

NETImport ( ClassDiagram diagram, ImportSettings settings ) : System

Initializes a new instance of NETImport.

Private Methods

Method Description
AddClasses ( IEnumerable classes ) : void

Adds the submitted classes to the diagram.

AddConstructors ( SingleInharitanceType type, IEnumerable constructors ) : void

Adds the given constructors to the given type.

AddDelegates ( IEnumerable delegates ) : void

Adds the submitted delegates to the diagram.

AddEnumValues ( EnumType type, IEnumerable values ) : void

Adds the given enum values to the given type.

AddEnums ( IEnumerable enums ) : void

Adds the submitted enums to the diagram.

AddEvents ( CompositeType type, IEnumerable events ) : void

Adds the given events to the given type.

AddFields ( SingleInharitanceType type, IEnumerable fields ) : void

Adds the given fields to the given type.

AddInterfaces ( IEnumerable interfaces ) : void

Adds the submitted interfaces to the diagram.

AddMethods ( CompositeType type, IEnumerable methods ) : void

Adds the given methods to the given type.

AddOperators ( SingleInharitanceType type, IEnumerable operators ) : void

Adds the given operators to the given type.

AddProperties ( CompositeType type, IEnumerable properties ) : void

Adds the given properties to the given type.

AddRelationships ( NRRelationships nrRelationships ) : void

Adds the relationships from nrRelationships to the diagram.

AddStrcts ( IEnumerable structs ) : void

Adds the submitted structs to the diagram.

ArrangeTypes ( ) : void

Creates a nice arrangement for each entity.

Method Details

ImportAssembly() public method

The main entry point of this class. Imports the assembly which is given as the parameter.
public ImportAssembly ( string fileName ) : bool
fileName string The file name and path of the assembly to import.
return bool

NETImport() public method

Initializes a new instance of NETImport.
public NETImport ( ClassDiagram diagram, ImportSettings settings ) : System
diagram ClassDiagram
settings ImportSettings
return System