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
- WebPartExportVerb.cs
- QuotedPrintableStream.cs
- SHA512Managed.cs
- FilterFactory.cs
- WindowsFormsHost.cs
- Int64Converter.cs
- Calendar.cs
- _LocalDataStoreMgr.cs
- Tool.cs
- TypeUtil.cs
- FileSecurity.cs
- NonClientArea.cs
- SQLBinaryStorage.cs
- PropertyBuilder.cs
- DateTimeOffsetConverter.cs
- StringConverter.cs
- SyntaxCheck.cs
- Guid.cs
- WebBaseEventKeyComparer.cs
- InplaceBitmapMetadataWriter.cs
- Effect.cs
- ProviderCommandInfoUtils.cs
- ClientSettingsStore.cs
- UpDownBase.cs
- ByteAnimationUsingKeyFrames.cs
- Timer.cs
- BasicKeyConstraint.cs
- WeakEventManager.cs
- XmlElementAttributes.cs
- DifferencingCollection.cs
- BaseHashHelper.cs
- BoolExpression.cs
- WebScriptEnablingElement.cs
- WCFBuildProvider.cs
- RangeValidator.cs
- ThemeInfoAttribute.cs
- DbConnectionStringBuilder.cs
- XmlSchemaFacet.cs
- EventMappingSettingsCollection.cs
- SecurityUtils.cs
- XmlDsigSep2000.cs
- SingleStorage.cs
- Hex.cs
- DesignerDataStoredProcedure.cs
- LocatorManager.cs
- BoundsDrawingContextWalker.cs
- XmlDesignerDataSourceView.cs
- Models.cs
- InheritedPropertyChangedEventArgs.cs
- KerberosRequestorSecurityToken.cs
- ToolStripHighContrastRenderer.cs
- WmlFormAdapter.cs
- ApplicationBuildProvider.cs
- Cloud.cs
- ObjectParameterCollection.cs
- SecurityRuntime.cs
- DrawingState.cs
- WebResponse.cs
- ButtonBase.cs
- GradientStop.cs
- CodeAttributeDeclarationCollection.cs
- DesignerCalendarAdapter.cs
- TypeSource.cs
- DocumentSchemaValidator.cs
- StylusPointPropertyUnit.cs
- SerializationInfo.cs
- TextRange.cs
- CodeObject.cs
- FileReservationCollection.cs
- LoginCancelEventArgs.cs
- CornerRadiusConverter.cs
- TemplateAction.cs
- NavigationCommands.cs
- FormatterServices.cs
- SchemaContext.cs
- LinqDataSourceSelectEventArgs.cs
- EnumerableRowCollection.cs
- ClientScriptManagerWrapper.cs
- ConfigurationStrings.cs
- DiffuseMaterial.cs
- CapabilitiesPattern.cs
- GestureRecognizer.cs
- CuspData.cs
- ReliabilityContractAttribute.cs
- SliderAutomationPeer.cs
- MeshGeometry3D.cs
- XmlValidatingReader.cs
- SafeLibraryHandle.cs
- RangeValidator.cs
- XmlnsPrefixAttribute.cs
- UrlMappingsSection.cs
- DifferencingCollection.cs
- CharAnimationUsingKeyFrames.cs
- BuildResultCache.cs
- Converter.cs
- FixedSOMElement.cs
- ICspAsymmetricAlgorithm.cs
- Win32Native.cs
- DebugView.cs
- SharedUtils.cs