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
- shaperfactoryquerycachekey.cs
- OleCmdHelper.cs
- Drawing.cs
- CopyCodeAction.cs
- PublishLicense.cs
- AsyncOperationManager.cs
- ExpandoClass.cs
- Mouse.cs
- FollowerQueueCreator.cs
- OleAutBinder.cs
- Misc.cs
- StateRuntime.cs
- PropertyTabChangedEvent.cs
- CallbackValidator.cs
- Native.cs
- CodeDirectoryCompiler.cs
- HttpResponseHeader.cs
- SrgsElementFactory.cs
- Descriptor.cs
- BitHelper.cs
- MarshalByRefObject.cs
- WebConfigurationManager.cs
- SplitContainer.cs
- MaterialCollection.cs
- WindowsTab.cs
- HwndSourceKeyboardInputSite.cs
- CompilerParameters.cs
- XAMLParseException.cs
- ForEachAction.cs
- DataGridViewLinkCell.cs
- XmlSerializer.cs
- Menu.cs
- MinMaxParagraphWidth.cs
- TimelineGroup.cs
- DBConcurrencyException.cs
- EastAsianLunisolarCalendar.cs
- HMACSHA384.cs
- TextPenaltyModule.cs
- TemplateBindingExpression.cs
- XmlDeclaration.cs
- DesignerView.cs
- LogicalMethodInfo.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- UriExt.cs
- WeakReferenceKey.cs
- HostVisual.cs
- ConnectionInterfaceCollection.cs
- XhtmlBasicPanelAdapter.cs
- ConstraintManager.cs
- MyContact.cs
- DeviceSpecificChoiceCollection.cs
- ObjectDataSource.cs
- ellipse.cs
- ComboBoxAutomationPeer.cs
- BuildProviderAppliesToAttribute.cs
- WeakRefEnumerator.cs
- SchemaTableOptionalColumn.cs
- Rect3D.cs
- SoapFormatExtensions.cs
- DynamicDiscoSearcher.cs
- WebContentFormatHelper.cs
- ExpressionVisitorHelpers.cs
- PopupRootAutomationPeer.cs
- SectionRecord.cs
- MessageDecoder.cs
- TableParagraph.cs
- MemoryMappedFile.cs
- SecurityContext.cs
- dsa.cs
- UInt32Storage.cs
- XmlUtil.cs
- FrameworkContentElement.cs
- ItemMap.cs
- AndCondition.cs
- EndpointPerformanceCounters.cs
- HtmlAnchor.cs
- DataGrid.cs
- DataGridViewBindingCompleteEventArgs.cs
- brushes.cs
- RemoveFromCollection.cs
- ErrorWrapper.cs
- _SpnDictionary.cs
- AnnotationAuthorChangedEventArgs.cs
- ImpersonationContext.cs
- ResourceReferenceExpression.cs
- TreeWalkHelper.cs
- InvalidDataException.cs
- UnknownBitmapEncoder.cs
- XamlHttpHandlerFactory.cs
- TreeNodeBindingCollection.cs
- DoubleMinMaxAggregationOperator.cs
- ClientApiGenerator.cs
- SizeAnimationClockResource.cs
- XPathNodeInfoAtom.cs
- XmlAutoDetectWriter.cs
- StrokeCollectionConverter.cs
- PaperSize.cs
- WindowsAltTab.cs
- StyleModeStack.cs
- NamespaceDisplay.xaml.cs