Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / CompMod / System / CodeDOM / CodeCompileUnit.cs / 1 / CodeCompileUnit.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- 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; ////// [ 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. /// ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- 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; ////// [ 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
- Int16AnimationBase.cs
- InstanceCreationEditor.cs
- GuidelineSet.cs
- UrlAuthorizationModule.cs
- ValidationRuleCollection.cs
- _NegoState.cs
- DataGridBoolColumn.cs
- DragDeltaEventArgs.cs
- DynamicRenderer.cs
- WCFModelStrings.Designer.cs
- ErrorWrapper.cs
- TreeBuilderXamlTranslator.cs
- FilteredReadOnlyMetadataCollection.cs
- SystemIcons.cs
- NetTcpSecurityElement.cs
- HyperLinkStyle.cs
- TextTrailingWordEllipsis.cs
- WebPartMovingEventArgs.cs
- Vector3DAnimationUsingKeyFrames.cs
- SelectionProviderWrapper.cs
- BrushMappingModeValidation.cs
- HttpAsyncResult.cs
- StickyNote.cs
- TimeZoneNotFoundException.cs
- TypeDescriptorFilterService.cs
- SystemNetworkInterface.cs
- ViewEventArgs.cs
- HTTPNotFoundHandler.cs
- Cursor.cs
- GlyphRun.cs
- ClaimTypes.cs
- MenuItemBindingCollection.cs
- TextTreePropertyUndoUnit.cs
- QueueProcessor.cs
- ExtendedPropertiesHandler.cs
- OleDbStruct.cs
- ConnectionStringsExpressionBuilder.cs
- RelationshipEndCollection.cs
- GridLength.cs
- objectresult_tresulttype.cs
- DateTimeOffset.cs
- FontUnit.cs
- CharacterBufferReference.cs
- BinaryReader.cs
- PenLineCapValidation.cs
- PostBackOptions.cs
- MexBindingElement.cs
- BigInt.cs
- IxmlLineInfo.cs
- TextRangeEditTables.cs
- DataGridRow.cs
- DataSourceXmlAttributeAttribute.cs
- FtpRequestCacheValidator.cs
- ClientSettingsSection.cs
- MetadataResolver.cs
- XslNumber.cs
- UnicodeEncoding.cs
- SqlCommand.cs
- CreateUserErrorEventArgs.cs
- ProviderSettingsCollection.cs
- SerialStream.cs
- XhtmlMobileTextWriter.cs
- KnownColorTable.cs
- FileNotFoundException.cs
- XmlSchemaDocumentation.cs
- PlainXmlWriter.cs
- AstNode.cs
- CompoundFileIOPermission.cs
- ListBoxItemAutomationPeer.cs
- StatusBarPanelClickEvent.cs
- SubpageParaClient.cs
- VisualBasicHelper.cs
- MaskDescriptors.cs
- TextEndOfParagraph.cs
- SingleAnimation.cs
- WebPartZone.cs
- RegisteredDisposeScript.cs
- VoiceInfo.cs
- SimpleWebHandlerParser.cs
- SystemPens.cs
- EncoderParameters.cs
- HTMLTagNameToTypeMapper.cs
- MetadataItemEmitter.cs
- TrustManagerMoreInformation.cs
- TextEncodedRawTextWriter.cs
- RuntimeConfigurationRecord.cs
- GlyphTypeface.cs
- ServiceContractListItem.cs
- Visual3D.cs
- Vector3DAnimation.cs
- NextPreviousPagerField.cs
- ListParaClient.cs
- XmlWriter.cs
- PathSegmentCollection.cs
- TemplatePropertyEntry.cs
- ExpressionPrefixAttribute.cs
- XpsDocument.cs
- fixedPageContentExtractor.cs
- SimpleType.cs
- Padding.cs