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
- MouseCaptureWithinProperty.cs
- ProviderConnectionPoint.cs
- DataFormat.cs
- PrincipalPermission.cs
- HighContrastHelper.cs
- BulletedListEventArgs.cs
- StatusBarDrawItemEvent.cs
- InvokeBinder.cs
- CachedPathData.cs
- IFormattable.cs
- AutomationPropertyChangedEventArgs.cs
- ResourceExpressionBuilder.cs
- SimpleWorkerRequest.cs
- DataBinding.cs
- Polygon.cs
- SqlUtils.cs
- LinearQuaternionKeyFrame.cs
- GestureRecognizer.cs
- QueueNameHelper.cs
- EntityContainerRelationshipSetEnd.cs
- SoapCommonClasses.cs
- DataGridViewDataErrorEventArgs.cs
- _DomainName.cs
- FirstMatchCodeGroup.cs
- nulltextcontainer.cs
- SeverityFilter.cs
- WebControlsSection.cs
- UiaCoreApi.cs
- SlotInfo.cs
- OleDbException.cs
- HtmlTable.cs
- XPathDocument.cs
- CollectionConverter.cs
- TemplateLookupAction.cs
- UnionCqlBlock.cs
- UntrustedRecipientException.cs
- DataTableNameHandler.cs
- SqlFacetAttribute.cs
- CacheEntry.cs
- SoapDocumentMethodAttribute.cs
- HttpModuleActionCollection.cs
- Matrix3D.cs
- MSG.cs
- XmlStreamStore.cs
- DataSource.cs
- WebPartDescription.cs
- OdbcFactory.cs
- KeyboardDevice.cs
- InheritanceContextChangedEventManager.cs
- HttpDictionary.cs
- UIPropertyMetadata.cs
- MouseBinding.cs
- SvcMapFileLoader.cs
- DecimalConverter.cs
- BamlRecordReader.cs
- Constants.cs
- TimeSpanHelper.cs
- EventEntry.cs
- IssuedTokenClientElement.cs
- util.cs
- DataObjectFieldAttribute.cs
- SafeFileMappingHandle.cs
- IImplicitResourceProvider.cs
- CommandID.cs
- SizeAnimationBase.cs
- UnsafeCollabNativeMethods.cs
- SqlCommand.cs
- OleDbException.cs
- DataBinder.cs
- HeaderedItemsControl.cs
- CodeMemberField.cs
- ProcessModelSection.cs
- Converter.cs
- PointAnimationUsingPath.cs
- StateMachineSubscription.cs
- WebPartEditVerb.cs
- regiisutil.cs
- DataGridViewComboBoxEditingControl.cs
- CustomAttributeBuilder.cs
- NCryptNative.cs
- FormParameter.cs
- LowerCaseStringConverter.cs
- PopupEventArgs.cs
- InlinedAggregationOperator.cs
- BaseAppDomainProtocolHandler.cs
- AttributeAction.cs
- TableParaClient.cs
- XPathNode.cs
- ActiveXHelper.cs
- TextBoxDesigner.cs
- XdrBuilder.cs
- MatrixValueSerializer.cs
- Bitmap.cs
- Boolean.cs
- NamedPipeProcessProtocolHandler.cs
- ResXDataNode.cs
- XamlPoint3DCollectionSerializer.cs
- PeerNameRegistration.cs
- GraphicsContainer.cs
- Util.cs