{
private CodeCommentStatementCollection comments;
private CodeNamespaceImportCollection imports;
- private CodeTypeDeclarationCollection types;
+ //private CodeNamespaceCollection namespaces;
+ private CodeTypeDeclarationCollection classes;
private string name;
+ //int populated;
//
// Constructors
public CodeTypeDeclarationCollection Types {
get {
- if ( types == null ) {
- types = new CodeTypeDeclarationCollection();
+ if ( classes == null ) {
+ classes = new CodeTypeDeclarationCollection();
if ( PopulateTypes != null )
PopulateTypes( this, EventArgs.Empty );
}
- return types;
+ return classes;
}
}