Org.SourceFlow.VisualBasic
Class VisualBasicNamespace
IComparable
|
+--CodeElement
|
+--CodeContainer
|
+--VisualBasicNamespace
in VisualBasicNamespace.cs
- public class VisualBasicNamespace
- extends CodeContainer
A class generating a Visual Basic namespace declaration.
|
Field Summary |
override int |
Category
Returns a numeric category number for the code element. |
Category
public override int Category;
-
Returns a numeric category number for the code element. A
lower category number implies that the code element should
be placed before code elements with a higher category
number within a declaration.
- Returns:
- the category number
VisualBasicNamespace
public VisualBasicNamespace( string name );
-
Creates a new namespace.
- Parameters:
name - the fully qualified namespace name
AddClass
public void AddClass( VisualBasicClass c );
-
Adds a class declaration to the namespace.
- Parameters:
c - the class declaration to add
AddEnumeration
public void AddEnumeration( VisualBasicEnumeration e );
-
Adds an enumeration to the namespace.
- Parameters:
e - the enumeration to add
Print
public override void Print( StreamWriter output, CodeStyle style, int indent );
-
Prints the code element to the specified output stream.
- Parameters:
out - the output stream
style - the code style to use
indent - the indentation level
ToString
public override string ToString();
-
Returns the namespace name.
- Returns:
- the namespace name