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
- FontUnit.cs
- CustomValidator.cs
- WsdlBuildProvider.cs
- ListParagraph.cs
- PopupRootAutomationPeer.cs
- XmlCharCheckingReader.cs
- Encoder.cs
- SystemIcons.cs
- CodeRemoveEventStatement.cs
- CodeSubDirectory.cs
- PolyBezierSegment.cs
- SettingsPropertyNotFoundException.cs
- SqlProviderServices.cs
- ReferentialConstraint.cs
- SettingsProviderCollection.cs
- RenderCapability.cs
- WindowsSysHeader.cs
- CompositeKey.cs
- AppDomain.cs
- PageSetupDialog.cs
- PasswordRecovery.cs
- SpnegoTokenAuthenticator.cs
- ColorDialog.cs
- SecureUICommand.cs
- PropertyGridEditorPart.cs
- MdbDataFileEditor.cs
- SpotLight.cs
- Console.cs
- XmlChildEnumerator.cs
- WorkflowMessageEventHandler.cs
- WindowsProgressbar.cs
- WebPartTransformerCollection.cs
- HtmlTable.cs
- WebBrowsableAttribute.cs
- sqlcontext.cs
- ObjectMemberMapping.cs
- CellRelation.cs
- Duration.cs
- EventHandlers.cs
- URL.cs
- returneventsaver.cs
- DataGridTableCollection.cs
- UIAgentCrashedException.cs
- CodeEventReferenceExpression.cs
- ListViewPagedDataSource.cs
- RowsCopiedEventArgs.cs
- DtdParser.cs
- SymbolType.cs
- DbTransaction.cs
- MembershipPasswordException.cs
- SchemaName.cs
- SessionSymmetricMessageSecurityProtocolFactory.cs
- ToolStripSeparator.cs
- StructuralObject.cs
- CompModSwitches.cs
- PrintPreviewControl.cs
- ApplicationSecurityInfo.cs
- MethodToken.cs
- EventDescriptor.cs
- SqlDelegatedTransaction.cs
- CallbackHandler.cs
- SecurityIdentifierElement.cs
- cookieexception.cs
- DataGridViewBindingCompleteEventArgs.cs
- OutputCacheProfile.cs
- Transform.cs
- BindingsCollection.cs
- NTAccount.cs
- JavaScriptSerializer.cs
- DesignerLoader.cs
- SQLGuidStorage.cs
- OuterGlowBitmapEffect.cs
- RequestQueue.cs
- DataTemplate.cs
- NativeCompoundFileAPIs.cs
- SelectedGridItemChangedEvent.cs
- WSHttpBindingElement.cs
- QuadraticBezierSegment.cs
- SmiTypedGetterSetter.cs
- prompt.cs
- PhysicalFontFamily.cs
- DataServiceConfiguration.cs
- DataTemplateSelector.cs
- QuaternionConverter.cs
- SQLInt32Storage.cs
- DashStyle.cs
- LineUtil.cs
- ListViewDeletedEventArgs.cs
- CodeStatementCollection.cs
- WebReferencesBuildProvider.cs
- MD5.cs
- InstanceCreationEditor.cs
- ResourceDefaultValueAttribute.cs
- WCFBuildProvider.cs
- ServiceDescription.cs
- DoubleAnimationBase.cs
- SelfIssuedAuthRSACryptoProvider.cs
- QueryConverter.cs
- LinqDataSourceDisposeEventArgs.cs
- DataGridViewSelectedCellCollection.cs