Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeCompileUnit.cs / 1305376 / CodeCompileUnit.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- 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; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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. /// ///// // //----------------------------------------------------------------------------- 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; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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
- BmpBitmapEncoder.cs
- MetadataArtifactLoaderFile.cs
- MenuAdapter.cs
- HostUtils.cs
- VBIdentifierNameEditor.cs
- QueueSurrogate.cs
- SqlTransaction.cs
- CriticalFinalizerObject.cs
- CachedFontFace.cs
- GeometryGroup.cs
- ConfigurationLocationCollection.cs
- ContextMenuAutomationPeer.cs
- RectangleConverter.cs
- ZipPackage.cs
- BaseServiceProvider.cs
- Path.cs
- MemoryStream.cs
- Dump.cs
- NameNode.cs
- PermissionRequestEvidence.cs
- NativeMethods.cs
- UrlAuthFailedErrorFormatter.cs
- TripleDES.cs
- HandlerBase.cs
- CanonicalizationDriver.cs
- CqlErrorHelper.cs
- CounterSample.cs
- DesignerPerfEventProvider.cs
- LicenseProviderAttribute.cs
- XmlResolver.cs
- InstanceDataCollectionCollection.cs
- PropertyChangeTracker.cs
- SerializerProvider.cs
- VariableAction.cs
- KeyValuePair.cs
- NonParentingControl.cs
- RijndaelManaged.cs
- BindingExpressionUncommonField.cs
- SchemaObjectWriter.cs
- DataGridViewToolTip.cs
- SynchronizedDispatch.cs
- GPRECT.cs
- StoragePropertyMapping.cs
- ImpersonationContext.cs
- CodeTypeReferenceCollection.cs
- XAMLParseException.cs
- OuterGlowBitmapEffect.cs
- SafeNativeMethodsOther.cs
- StaticFileHandler.cs
- PartBasedPackageProperties.cs
- ProjectionQueryOptionExpression.cs
- sqlinternaltransaction.cs
- CharUnicodeInfo.cs
- NativeRightsManagementAPIsStructures.cs
- validation.cs
- ProtectedConfigurationSection.cs
- ListDictionary.cs
- DefaultPropertiesToSend.cs
- NativeCompoundFileAPIs.cs
- NamedObject.cs
- RecognizeCompletedEventArgs.cs
- TableCellCollection.cs
- CodeSubDirectoriesCollection.cs
- VerificationAttribute.cs
- GridItemPattern.cs
- RowCache.cs
- VerificationAttribute.cs
- DbFunctionCommandTree.cs
- XamlTreeBuilder.cs
- ImageDrawing.cs
- BitmapCodecInfo.cs
- PeerResolver.cs
- RepeatInfo.cs
- Camera.cs
- Privilege.cs
- HttpProfileBase.cs
- XamlStream.cs
- ISAPIWorkerRequest.cs
- PreservationFileWriter.cs
- TranslateTransform.cs
- CodePropertyReferenceExpression.cs
- RuleProcessor.cs
- BasicAsyncResult.cs
- Mapping.cs
- CategoryEditor.cs
- BindingElementExtensionElement.cs
- BrushValueSerializer.cs
- PatternMatcher.cs
- DesignerExtenders.cs
- StringConcat.cs
- SamlSubjectStatement.cs
- QueryReaderSettings.cs
- SymLanguageType.cs
- ItemChangedEventArgs.cs
- KeyNotFoundException.cs
- BulletedList.cs
- CngKey.cs
- WebReferenceOptions.cs
- DebugView.cs
- MatrixTransform.cs