Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- ReflectionUtil.cs
- ExpressionEditorAttribute.cs
- HttpCapabilitiesBase.cs
- DataTableReader.cs
- RouteParameter.cs
- RestClientProxyHandler.cs
- EnlistmentTraceIdentifier.cs
- SafeSecurityHandles.cs
- CharacterString.cs
- ContainsRowNumberChecker.cs
- UnhandledExceptionEventArgs.cs
- ColorTranslator.cs
- FilteredAttributeCollection.cs
- LicenseProviderAttribute.cs
- PocoEntityKeyStrategy.cs
- PrimitiveSchema.cs
- While.cs
- FormsAuthenticationTicket.cs
- WebServiceErrorEvent.cs
- SchemaType.cs
- _HTTPDateParse.cs
- ElementHostPropertyMap.cs
- BufferedGenericXmlSecurityToken.cs
- AssemblyHash.cs
- XmlNullResolver.cs
- SByteStorage.cs
- AutomationPropertyInfo.cs
- AllMembershipCondition.cs
- PathFigure.cs
- BufferModeSettings.cs
- WmfPlaceableFileHeader.cs
- LoginName.cs
- PhysicalOps.cs
- FullTrustAssembliesSection.cs
- MissingMemberException.cs
- DbConnectionPool.cs
- RecognizerInfo.cs
- DataGridViewRow.cs
- SelectionPattern.cs
- PeerTransportBindingElement.cs
- ValidationHelper.cs
- EventLogTraceListener.cs
- SkipStoryboardToFill.cs
- MulticastNotSupportedException.cs
- OperatingSystemVersionCheck.cs
- DPTypeDescriptorContext.cs
- DataTableTypeConverter.cs
- XmlSerializationWriter.cs
- FormViewPagerRow.cs
- CryptoKeySecurity.cs
- DashStyle.cs
- ConfigurationPropertyAttribute.cs
- ObjectDataSourceMethodEditor.cs
- OrderedHashRepartitionStream.cs
- SeverityFilter.cs
- HttpResponseInternalWrapper.cs
- ConstNode.cs
- ColorTransform.cs
- FixedSOMLineCollection.cs
- CultureInfoConverter.cs
- TimeoutTimer.cs
- GeneralTransformCollection.cs
- SoapParser.cs
- MsmqProcessProtocolHandler.cs
- WebPartHeaderCloseVerb.cs
- ExtensionSimplifierMarkupObject.cs
- GroupBoxRenderer.cs
- Model3DGroup.cs
- CopyOfAction.cs
- ActionMismatchAddressingException.cs
- WinFormsSecurity.cs
- ScrollViewerAutomationPeer.cs
- ProfessionalColors.cs
- NativeMethods.cs
- ToolStripMenuItemDesigner.cs
- ColumnResizeUndoUnit.cs
- SchemaConstraints.cs
- ProxyWebPart.cs
- AttachedPropertyInfo.cs
- IsolatedStorageException.cs
- ClientEventManager.cs
- InitializationEventAttribute.cs
- Attributes.cs
- WebPartEditVerb.cs
- MinMaxParagraphWidth.cs
- TableParaClient.cs
- loginstatus.cs
- RtfControls.cs
- HierarchicalDataTemplate.cs
- TrustSection.cs
- XamlSerializerUtil.cs
- SecuritySessionFilter.cs
- ResolvedKeyFrameEntry.cs
- ToolStripDropDownClosedEventArgs.cs
- TemplateKey.cs
- RadioButtonPopupAdapter.cs
- FirstMatchCodeGroup.cs
- ReferenceEqualityComparer.cs
- TextStore.cs
- Parameter.cs