Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- RequestBringIntoViewEventArgs.cs
- pingexception.cs
- CounterSetInstance.cs
- TransformerInfoCollection.cs
- HttpPostProtocolImporter.cs
- Signature.cs
- OrderedHashRepartitionEnumerator.cs
- XmlSerializerAssemblyAttribute.cs
- ScrollEventArgs.cs
- SymbolTable.cs
- DesignBindingEditor.cs
- DbDataReader.cs
- KeyTime.cs
- DependencyPropertyDescriptor.cs
- FixedTextContainer.cs
- EventLogException.cs
- WindowsListViewItemCheckBox.cs
- Logging.cs
- BodyGlyph.cs
- CatalogZone.cs
- GridItemProviderWrapper.cs
- RegexMatch.cs
- DataGridViewDataErrorEventArgs.cs
- ProgressBarRenderer.cs
- BaseDataList.cs
- AxWrapperGen.cs
- BrushConverter.cs
- XmlSchemaSimpleContent.cs
- FullTextState.cs
- ItemType.cs
- DifferencingCollection.cs
- ToggleProviderWrapper.cs
- OleDbInfoMessageEvent.cs
- UriGenerator.cs
- pingexception.cs
- FileSecurity.cs
- TableCellCollection.cs
- TypedTableBase.cs
- Int32KeyFrameCollection.cs
- GridViewCancelEditEventArgs.cs
- ParseElementCollection.cs
- HeaderedContentControl.cs
- TextWriterEngine.cs
- Int32CollectionConverter.cs
- PackageFilter.cs
- GeometryHitTestParameters.cs
- ClassImporter.cs
- EntityConnectionStringBuilder.cs
- ScriptControl.cs
- QilVisitor.cs
- DropDownHolder.cs
- Helpers.cs
- DragEventArgs.cs
- RuleElement.cs
- HostingPreferredMapPath.cs
- filewebrequest.cs
- Content.cs
- LocationSectionRecord.cs
- UpdateExpressionVisitor.cs
- wmiprovider.cs
- XmlDataLoader.cs
- ColorMap.cs
- ReaderOutput.cs
- MemberRestriction.cs
- DataGridViewCheckBoxColumn.cs
- SubMenuStyleCollection.cs
- DataKeyCollection.cs
- SqlDataSourceSelectingEventArgs.cs
- InertiaRotationBehavior.cs
- ConstrainedDataObject.cs
- WebZone.cs
- StringToken.cs
- DataGridViewToolTip.cs
- FixedMaxHeap.cs
- ScriptReference.cs
- PropertyMapper.cs
- SqlDataSourceFilteringEventArgs.cs
- RegexRunnerFactory.cs
- EUCJPEncoding.cs
- Line.cs
- Style.cs
- ExpressionBuilderContext.cs
- ProcessThread.cs
- Group.cs
- _LocalDataStoreMgr.cs
- FileRecordSequenceCompletedAsyncResult.cs
- PassportAuthenticationModule.cs
- XmlDataImplementation.cs
- GridViewRowCollection.cs
- ConfigurationLocationCollection.cs
- EntityDataSourceContextCreatingEventArgs.cs
- PromptEventArgs.cs
- Helper.cs
- ProfileBuildProvider.cs
- TreeBuilder.cs
- QilList.cs
- OleDbFactory.cs
- ByteAnimationUsingKeyFrames.cs
- Argument.cs
- BaseTemplateParser.cs