Code:
/ 4.0 / 4.0 / 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. /// ///// // //----------------------------------------------------------------------------- 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
- _DisconnectOverlappedAsyncResult.cs
- Rule.cs
- AnimationClockResource.cs
- EncodingInfo.cs
- StatusBarPanel.cs
- ValidationRule.cs
- TextPattern.cs
- RemoteWebConfigurationHostStream.cs
- ConfigViewGenerator.cs
- messageonlyhwndwrapper.cs
- SiteMapProvider.cs
- ApplicationFileParser.cs
- ExtensionDataObject.cs
- SchemaDeclBase.cs
- SingleSelectRootGridEntry.cs
- ListChangedEventArgs.cs
- XmlChildNodes.cs
- serverconfig.cs
- TreeChangeInfo.cs
- DiagnosticsElement.cs
- Trigger.cs
- TextEffectResolver.cs
- _UriTypeConverter.cs
- CaretElement.cs
- _DomainName.cs
- UrlMappingsSection.cs
- ConfigXmlDocument.cs
- HierarchicalDataBoundControl.cs
- ToolStripItemCollection.cs
- RepeaterItem.cs
- FamilyMapCollection.cs
- BStrWrapper.cs
- TableItemPattern.cs
- TypeDependencyAttribute.cs
- Propagator.cs
- GridViewColumnHeaderAutomationPeer.cs
- SudsWriter.cs
- MimeAnyImporter.cs
- CreateRefExpr.cs
- SQLInt16.cs
- IIS7UserPrincipal.cs
- IndexedString.cs
- SettingsPropertyNotFoundException.cs
- SizeChangedInfo.cs
- TaskFileService.cs
- InputManager.cs
- RoleGroupCollection.cs
- GeneralTransform3DCollection.cs
- SwitchElementsCollection.cs
- RSAPKCS1SignatureFormatter.cs
- CompilerLocalReference.cs
- LocalBuilder.cs
- ContextMenu.cs
- HasCopySemanticsAttribute.cs
- DateTimeConverter.cs
- ConnectorDragDropGlyph.cs
- Command.cs
- XPathNodeIterator.cs
- BinHexDecoder.cs
- Convert.cs
- FormClosedEvent.cs
- RootAction.cs
- DetectEofStream.cs
- ISFTagAndGuidCache.cs
- Drawing.cs
- DriveNotFoundException.cs
- ForeignConstraint.cs
- HttpCapabilitiesEvaluator.cs
- ArithmeticException.cs
- FactoryId.cs
- SchemaTypeEmitter.cs
- DependencyPropertyConverter.cs
- TiffBitmapDecoder.cs
- DataGridCaption.cs
- ControlType.cs
- DocumentViewerConstants.cs
- StylusCollection.cs
- RuleSettingsCollection.cs
- SQLBytesStorage.cs
- TypeDependencyAttribute.cs
- HtmlInputImage.cs
- ConstructorNeedsTagAttribute.cs
- DataGridPagerStyle.cs
- RangeValidator.cs
- ServiceOperation.cs
- BinaryMethodMessage.cs
- AlternateView.cs
- MetricEntry.cs
- HttpInputStream.cs
- RowToParametersTransformer.cs
- Soap.cs
- Operators.cs
- IncrementalReadDecoders.cs
- LifetimeServices.cs
- AttributedMetaModel.cs
- ExtentCqlBlock.cs
- HyperLinkColumn.cs
- XamlToRtfWriter.cs
- StringValidatorAttribute.cs
- PrimaryKeyTypeConverter.cs