Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeCompileUnit.cs / 1305376 / CodeCompileUnit.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Collections.Specialized; using System.Runtime.Serialization; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeCompileUnit: CodeObject { private CodeNamespaceCollection namespaces = new CodeNamespaceCollection(); private StringCollection assemblies = null; private CodeAttributeDeclarationCollection attributes = null; // Optionally Serializable [OptionalField] private CodeDirectiveCollection startDirectives = null; [OptionalField] private CodeDirectiveCollection endDirectives = null; ////// Represents a /// compilation unit declaration. /// ////// public CodeCompileUnit() { } ////// Initializes a new instance of ///. /// /// public CodeNamespaceCollection Namespaces { get { return namespaces; } } ////// Gets or sets the collection of namespaces. /// ////// public StringCollection ReferencedAssemblies { get { if (assemblies == null) { assemblies = new StringCollection(); } return assemblies; } } ////// Gets the collection of assemblies. Most code generators will not need this, but the Managed /// extensions for C++ code generator and /// other very low level code generators will need to do a more complete compilation. If both this /// and the compiler assemblies are specified, the compiler assemblies should win. /// ////// public CodeAttributeDeclarationCollection AssemblyCustomAttributes { get { if (attributes == null) { attributes = new CodeAttributeDeclarationCollection(); } return attributes; } } public CodeDirectiveCollection StartDirectives { get { if (startDirectives == null) { startDirectives = new CodeDirectiveCollection(); } return startDirectives; } } public CodeDirectiveCollection EndDirectives { get { if (endDirectives == null) { endDirectives = new CodeDirectiveCollection(); } return endDirectives ; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Gets the collection of assembly level attributes. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CommonProperties.cs
- _BaseOverlappedAsyncResult.cs
- AddInServer.cs
- ContainerUIElement3D.cs
- TypedReference.cs
- ExceptionTrace.cs
- XhtmlBasicFormAdapter.cs
- SystemDropShadowChrome.cs
- SqlBulkCopyColumnMappingCollection.cs
- CqlErrorHelper.cs
- StringPropertyBuilder.cs
- SortFieldComparer.cs
- GradientStop.cs
- SoapHeaderException.cs
- Container.cs
- ParameterDataSourceExpression.cs
- ListItem.cs
- NumberFunctions.cs
- DataBindingValueUIHandler.cs
- AsyncCompletedEventArgs.cs
- ZipIOLocalFileBlock.cs
- BoundField.cs
- TextTreeInsertUndoUnit.cs
- mediapermission.cs
- TraceSwitch.cs
- RepeaterCommandEventArgs.cs
- ResourcePool.cs
- TextDecorationCollectionConverter.cs
- WindowsListViewScroll.cs
- ChtmlTextWriter.cs
- ZipPackage.cs
- Msec.cs
- __Filters.cs
- XmlSignificantWhitespace.cs
- LoadItemsEventArgs.cs
- XmlImplementation.cs
- DataGridViewRowCollection.cs
- ScrollChangedEventArgs.cs
- StateDesigner.Helpers.cs
- AndCondition.cs
- UserControl.cs
- DependencySource.cs
- TraceListener.cs
- ProcessThreadDesigner.cs
- DataViewManagerListItemTypeDescriptor.cs
- AbandonedMutexException.cs
- OpenTypeLayoutCache.cs
- RegularExpressionValidator.cs
- ObjectStateEntry.cs
- ViewGenResults.cs
- WebPartVerb.cs
- Zone.cs
- FamilyCollection.cs
- GridViewItemAutomationPeer.cs
- PageDeviceFont.cs
- FunctionDetailsReader.cs
- ToolstripProfessionalRenderer.cs
- QuaternionAnimation.cs
- AsymmetricCryptoHandle.cs
- CompilerHelpers.cs
- CompilerWrapper.cs
- ObjectConverter.cs
- TreeView.cs
- ExtenderProvidedPropertyAttribute.cs
- XsltSettings.cs
- RenderContext.cs
- BufferAllocator.cs
- Misc.cs
- HealthMonitoringSection.cs
- _FtpControlStream.cs
- MexTcpBindingElement.cs
- ObjectDataSourceStatusEventArgs.cs
- SyncOperationState.cs
- ISCIIEncoding.cs
- LoginUtil.cs
- ImageMetadata.cs
- ExpandCollapsePattern.cs
- ElementUtil.cs
- Formatter.cs
- ColumnResizeAdorner.cs
- ArraySegment.cs
- CqlBlock.cs
- AbandonedMutexException.cs
- Journal.cs
- Underline.cs
- ListViewItemSelectionChangedEvent.cs
- CurrencyWrapper.cs
- ToolStripDropDownButton.cs
- DigestComparer.cs
- EventRouteFactory.cs
- ItemsPresenter.cs
- CodeNamespaceImportCollection.cs
- SizeF.cs
- HorizontalAlignConverter.cs
- OleDbReferenceCollection.cs
- SubclassTypeValidator.cs
- ToolStripItemTextRenderEventArgs.cs
- Compiler.cs
- DataGridViewLinkColumn.cs
- DeviceContext2.cs