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
- BitmapEffectDrawingContextState.cs
- StorageTypeMapping.cs
- SharedStatics.cs
- MimeMapping.cs
- ColorConvertedBitmap.cs
- XamlToRtfParser.cs
- XmlCharCheckingWriter.cs
- ConfigXmlCDataSection.cs
- TypeUtil.cs
- RequiredFieldValidator.cs
- BooleanSwitch.cs
- Validator.cs
- RandomNumberGenerator.cs
- Point.cs
- Connector.cs
- PatternMatcher.cs
- TimeStampChecker.cs
- ToolBarButtonClickEvent.cs
- StyleXamlParser.cs
- HtmlCalendarAdapter.cs
- Content.cs
- PropertyGridCommands.cs
- CheckBoxPopupAdapter.cs
- PassportAuthentication.cs
- StaticResourceExtension.cs
- mediaeventargs.cs
- UpdateCompiler.cs
- RSAPKCS1KeyExchangeFormatter.cs
- ButtonColumn.cs
- TraceUtility.cs
- StrongNameUtility.cs
- AdRotator.cs
- ColumnWidthChangedEvent.cs
- BrowserTree.cs
- TextDocumentView.cs
- ELinqQueryState.cs
- PropertyChangedEventManager.cs
- TemplateField.cs
- ObjectDataSourceWizardForm.cs
- SymbolPair.cs
- CodeTypeOfExpression.cs
- TemplatedMailWebEventProvider.cs
- X509Certificate2.cs
- MenuRenderer.cs
- TextTrailingCharacterEllipsis.cs
- ClientTarget.cs
- ViewBase.cs
- Size.cs
- ColorContextHelper.cs
- ButtonChrome.cs
- WindowsFormsHelpers.cs
- GeometryModel3D.cs
- CodeLabeledStatement.cs
- DataKey.cs
- StateBag.cs
- EntityDataSourceContextCreatingEventArgs.cs
- wgx_commands.cs
- Stackframe.cs
- SemaphoreFullException.cs
- InplaceBitmapMetadataWriter.cs
- HttpServerVarsCollection.cs
- AnnotationAuthorChangedEventArgs.cs
- Types.cs
- TextTreeTextBlock.cs
- RegexTree.cs
- DataErrorValidationRule.cs
- DataKeyCollection.cs
- InfiniteIntConverter.cs
- WebPartConnectionsEventArgs.cs
- IncrementalHitTester.cs
- SmiEventSink.cs
- DbProviderManifest.cs
- ToolStripSystemRenderer.cs
- SourceLineInfo.cs
- ServiceManager.cs
- ContextMarshalException.cs
- HorizontalAlignConverter.cs
- ExceptionUtil.cs
- ModelPerspective.cs
- WorkflowRuntimeServiceElementCollection.cs
- MemoryStream.cs
- SchemaImporterExtensionElement.cs
- SqlDataReader.cs
- Lazy.cs
- PngBitmapDecoder.cs
- ThemeInfoAttribute.cs
- ModelPerspective.cs
- ButtonFlatAdapter.cs
- AdRotator.cs
- AsynchronousChannelMergeEnumerator.cs
- WindowInteractionStateTracker.cs
- DeviceContexts.cs
- DoubleConverter.cs
- ManifestBasedResourceGroveler.cs
- MergeLocalizationDirectives.cs
- SQLBinary.cs
- FieldAccessException.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- TemplatePropertyEntry.cs
- ContextQuery.cs