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
- SkipStoryboardToFill.cs
- CommonRemoteMemoryBlock.cs
- FeatureSupport.cs
- ValidationSettings.cs
- PkcsMisc.cs
- DynamicRendererThreadManager.cs
- TimeZone.cs
- DecimalConstantAttribute.cs
- IPEndPointCollection.cs
- CompiledQueryCacheEntry.cs
- RecognizerInfo.cs
- NavigationWindow.cs
- CustomAssemblyResolver.cs
- AsyncDataRequest.cs
- Matrix3D.cs
- Translator.cs
- SystemWebCachingSectionGroup.cs
- EdgeProfileValidation.cs
- SystemFonts.cs
- UIElementParagraph.cs
- StrongNameKeyPair.cs
- HtmlContainerControl.cs
- CurrentChangingEventManager.cs
- ObjectQuery_EntitySqlExtensions.cs
- TabControlDesigner.cs
- EntityViewGenerationConstants.cs
- ComponentCommands.cs
- TdsParserSafeHandles.cs
- DataSvcMapFile.cs
- BackStopAuthenticationModule.cs
- XamlStyleSerializer.cs
- FigureParaClient.cs
- CustomAttributeBuilder.cs
- DefaultBinder.cs
- FieldAccessException.cs
- UrlMapping.cs
- RegisteredScript.cs
- RectAnimationBase.cs
- CLRBindingWorker.cs
- SettingsSavedEventArgs.cs
- RuntimeResourceSet.cs
- PassportAuthentication.cs
- DetailsViewCommandEventArgs.cs
- URL.cs
- TrustLevelCollection.cs
- ServicesExceptionNotHandledEventArgs.cs
- CompositionTarget.cs
- ExtenderProvidedPropertyAttribute.cs
- SslStreamSecurityElement.cs
- XmlDataSource.cs
- TimelineGroup.cs
- PerformanceCounterPermission.cs
- StretchValidation.cs
- SqlLiftWhereClauses.cs
- LoginAutoFormat.cs
- DataStreams.cs
- StrokeCollectionConverter.cs
- ResourcePool.cs
- StringArrayEditor.cs
- JapaneseLunisolarCalendar.cs
- PeerApplicationLaunchInfo.cs
- AppSettingsReader.cs
- KeyboardInputProviderAcquireFocusEventArgs.cs
- XmlEncoding.cs
- ReferenceConverter.cs
- MasterPageBuildProvider.cs
- ExpressionBindingCollection.cs
- InputLangChangeRequestEvent.cs
- WizardStepBase.cs
- StringPropertyBuilder.cs
- SettingsPropertyNotFoundException.cs
- EventlogProvider.cs
- SqlExpressionNullability.cs
- InstanceKey.cs
- HotSpot.cs
- SchemaImporterExtension.cs
- XmlDataSource.cs
- StorageBasedPackageProperties.cs
- SafeUserTokenHandle.cs
- RotationValidation.cs
- BinHexEncoding.cs
- WorkflowElementDialog.cs
- DynamicILGenerator.cs
- SplayTreeNode.cs
- unsafeIndexingFilterStream.cs
- TempEnvironment.cs
- TraceListeners.cs
- ActivitiesCollection.cs
- DateTimeConstantAttribute.cs
- GlyphRunDrawing.cs
- PerspectiveCamera.cs
- UpdateException.cs
- DateTimeUtil.cs
- ServiceParser.cs
- InvariantComparer.cs
- Block.cs
- ViewValidator.cs
- DateTimePicker.cs
- FilterableAttribute.cs
- SegmentInfo.cs