| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- //
- // System.CodeDom CodeCompileUnit Class implementation
- //
- // Author:
- // Daniel Stodden ([email protected])
- //
- // (C) 2002 Ximian, Inc.
- //
- using System.Runtime.InteropServices;
- using System.Collections.Specialized;
- namespace System.CodeDom
- {
- [Serializable]
- [ClassInterface(ClassInterfaceType.AutoDispatch)]
- [ComVisible(true)]
- public class CodeCompileUnit
- : CodeObject
- {
- private CodeAttributeDeclarationCollection assemblyCustomAttributes;
- private CodeNamespaceCollection namespaces;
- private StringCollection referencedAssemblies;
- //
- // Constructors
- //
- public CodeCompileUnit()
- {
- }
- //
- // Properties
- //
- public CodeAttributeDeclarationCollection AssemblyCustomAttributes {
- get {
- if ( assemblyCustomAttributes == null )
- assemblyCustomAttributes =
- new CodeAttributeDeclarationCollection();
- return assemblyCustomAttributes;
- }
- }
- public CodeNamespaceCollection Namespaces {
- get {
- if ( namespaces == null )
- namespaces = new CodeNamespaceCollection();
- return namespaces;
- }
- }
- public StringCollection ReferencedAssemblies {
- get {
- if ( referencedAssemblies == null )
- referencedAssemblies = new StringCollection();
- return referencedAssemblies;
- }
- }
- }
- }
|