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
- ObjectResult.cs
- KoreanCalendar.cs
- SelectionChangedEventArgs.cs
- SecureStringHasher.cs
- AssemblyAttributes.cs
- BufferedGraphics.cs
- WmpBitmapDecoder.cs
- TaskFormBase.cs
- TemplatingOptionsDialog.cs
- SecurityContext.cs
- PageFunction.cs
- Journaling.cs
- BuildResultCache.cs
- XMLSyntaxException.cs
- WindowsFormsLinkLabel.cs
- SmtpCommands.cs
- SamlAttribute.cs
- PerfService.cs
- ClientSideQueueItem.cs
- clipboard.cs
- ContextQuery.cs
- PartialToken.cs
- WindowsPen.cs
- SettingsPropertyNotFoundException.cs
- ActiveXHelper.cs
- BinaryEditor.cs
- NegotiateStream.cs
- X509UI.cs
- ICspAsymmetricAlgorithm.cs
- XmlProcessingInstruction.cs
- BaseComponentEditor.cs
- PartitionedDataSource.cs
- StrongNameIdentityPermission.cs
- TextLineResult.cs
- CoTaskMemSafeHandle.cs
- CodeAttributeArgumentCollection.cs
- FloaterParaClient.cs
- HandlerBase.cs
- InstalledVoice.cs
- ListItemCollection.cs
- ListenerElementsCollection.cs
- CompressedStack.cs
- FunctionUpdateCommand.cs
- DataServiceOperationContext.cs
- SingleAnimation.cs
- ControlAdapter.cs
- RegexRunnerFactory.cs
- TypeUsageBuilder.cs
- IxmlLineInfo.cs
- Function.cs
- EntryPointNotFoundException.cs
- PrincipalPermissionMode.cs
- CodeExpressionStatement.cs
- XmlQualifiedName.cs
- DesignerSerializationVisibilityAttribute.cs
- ObjectMemberMapping.cs
- PrimitiveDataContract.cs
- DataControlField.cs
- DES.cs
- StatusBarPanelClickEvent.cs
- WindowsGraphics.cs
- SafeFileHandle.cs
- CustomErrorsSectionWrapper.cs
- OletxCommittableTransaction.cs
- XmlObjectSerializerReadContext.cs
- PropertyValueChangedEvent.cs
- Ipv6Element.cs
- _ConnectStream.cs
- TypeDescriptionProviderAttribute.cs
- ChainOfResponsibility.cs
- CurrencyManager.cs
- ImmutableObjectAttribute.cs
- ImageFormat.cs
- MobileUITypeEditor.cs
- SourceSwitch.cs
- SuppressIldasmAttribute.cs
- ControlCollection.cs
- ExpressionBuilderCollection.cs
- ToolStripButton.cs
- DBConnectionString.cs
- SessionState.cs
- WebControl.cs
- KeyInterop.cs
- CapabilitiesRule.cs
- NonPrimarySelectionGlyph.cs
- ActivityCodeDomReferenceService.cs
- ResourceIDHelper.cs
- KernelTypeValidation.cs
- ConsoleCancelEventArgs.cs
- SimpleWorkerRequest.cs
- DecimalAnimationBase.cs
- ComponentSerializationService.cs
- InfocardChannelParameter.cs
- Pkcs9Attribute.cs
- VideoDrawing.cs
- NativeMethods.cs
- XamlSerializer.cs
- WorkflowRuntimeServicesBehavior.cs
- SymbolMethod.cs
- PrintDocument.cs