Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- BulletChrome.cs
- DnsEndPoint.cs
- HierarchicalDataBoundControl.cs
- StateBag.cs
- DocobjHost.cs
- HttpApplicationStateWrapper.cs
- LocalizedNameDescriptionPair.cs
- ApplicationServicesHostFactory.cs
- DetailsViewUpdatedEventArgs.cs
- CacheSection.cs
- ExportFileRequest.cs
- BlockCollection.cs
- FeatureAttribute.cs
- NumericExpr.cs
- WebReferencesBuildProvider.cs
- SystemResourceHost.cs
- FacetValueContainer.cs
- Stacktrace.cs
- BookmarkScopeInfo.cs
- CrossContextChannel.cs
- DiscoveryDocumentSerializer.cs
- SystemException.cs
- HttpCapabilitiesEvaluator.cs
- SupportsEventValidationAttribute.cs
- ExpressionNode.cs
- PeerCollaborationPermission.cs
- FastEncoder.cs
- NamespaceInfo.cs
- InputChannel.cs
- TimelineGroup.cs
- HttpHandlersSection.cs
- ChangeTracker.cs
- WindowsBrush.cs
- PrintControllerWithStatusDialog.cs
- Trigger.cs
- CategoryList.cs
- ISessionStateStore.cs
- HeaderedContentControl.cs
- SqlNode.cs
- CommandManager.cs
- InternalConfigEventArgs.cs
- PreApplicationStartMethodAttribute.cs
- EdmComplexTypeAttribute.cs
- FileCodeGroup.cs
- LinearGradientBrush.cs
- ChangeTracker.cs
- PeerNameRecordCollection.cs
- SynchronousChannel.cs
- InternalTypeHelper.cs
- QilIterator.cs
- TraceLog.cs
- QueryInterceptorAttribute.cs
- TableLayoutPanelBehavior.cs
- ListSourceHelper.cs
- BoundColumn.cs
- ValidationHelper.cs
- tooltip.cs
- PackagePart.cs
- AddInBase.cs
- PolicyException.cs
- XmlSchemaSet.cs
- StartUpEventArgs.cs
- recordstatefactory.cs
- MailWebEventProvider.cs
- ServiceOperation.cs
- LocalizationComments.cs
- _SingleItemRequestCache.cs
- PersistenceException.cs
- Configuration.cs
- TraceProvider.cs
- ClientTarget.cs
- XmlEntityReference.cs
- NoClickablePointException.cs
- ReadOnlyDictionary.cs
- SerializationSectionGroup.cs
- ColumnWidthChangingEvent.cs
- Clipboard.cs
- DiscreteKeyFrames.cs
- ShortcutKeysEditor.cs
- XslCompiledTransform.cs
- WebCategoryAttribute.cs
- ExpressionLexer.cs
- SafeEventLogReadHandle.cs
- EntityContainerAssociationSet.cs
- TagPrefixCollection.cs
- KeyEventArgs.cs
- XmlCharCheckingWriter.cs
- XmlCustomFormatter.cs
- ChineseLunisolarCalendar.cs
- DataGridHeadersVisibilityToVisibilityConverter.cs
- KoreanLunisolarCalendar.cs
- OverrideMode.cs
- ProcessManager.cs
- SaveFileDialog.cs
- DocumentSchemaValidator.cs
- ArrayTypeMismatchException.cs
- ForceCopyBuildProvider.cs
- WhitespaceSignificantCollectionAttribute.cs
- XmlSchemaCollection.cs
- Handle.cs