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
- OptionalMessageQuery.cs
- PaintEvent.cs
- EditingCommands.cs
- StringArrayEditor.cs
- LongSumAggregationOperator.cs
- AuthorizationSection.cs
- DataControlFieldCell.cs
- XsltOutput.cs
- CapabilitiesSection.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- Utils.cs
- DocumentReferenceCollection.cs
- NetNamedPipeBindingCollectionElement.cs
- ConstructorExpr.cs
- ExtensionFile.cs
- DecimalConverter.cs
- SymLanguageType.cs
- XmlAttributeProperties.cs
- ObjectItemLoadingSessionData.cs
- HttpServerUtilityWrapper.cs
- EntityCollection.cs
- Utility.cs
- ThousandthOfEmRealPoints.cs
- MasterPageParser.cs
- RecordConverter.cs
- CompositeScriptReferenceEventArgs.cs
- SymLanguageVendor.cs
- Crc32.cs
- BackStopAuthenticationModule.cs
- SoapIncludeAttribute.cs
- BasicHttpSecurityElement.cs
- SqlParameter.cs
- StylusPointProperties.cs
- AppSettingsSection.cs
- InvokePattern.cs
- InkCollectionBehavior.cs
- SymLanguageType.cs
- SdlChannelSink.cs
- RequiredFieldValidator.cs
- RequestChannelBinder.cs
- HtmlAnchor.cs
- XmlQualifiedNameTest.cs
- CreateDataSourceDialog.cs
- DependencyStoreSurrogate.cs
- SecurityAppliedMessage.cs
- RenderContext.cs
- Subtree.cs
- processwaithandle.cs
- XmlChildEnumerator.cs
- InputBinding.cs
- InstanceNotReadyException.cs
- ServerIdentity.cs
- DecryptedHeader.cs
- RequestQueryParser.cs
- ActivityExecutorDelegateInfo.cs
- XmlSchemaParticle.cs
- ScriptModule.cs
- ClientBuildManagerCallback.cs
- Scene3D.cs
- SerializationInfoEnumerator.cs
- ScalarOps.cs
- BindingListCollectionView.cs
- XmlSchemaNotation.cs
- MenuItemBindingCollection.cs
- MouseActionValueSerializer.cs
- HttpCookieCollection.cs
- WaitHandleCannotBeOpenedException.cs
- XmlSchemaSimpleTypeRestriction.cs
- Application.cs
- ImageClickEventArgs.cs
- PeerNeighborManager.cs
- PenThread.cs
- ClientUrlResolverWrapper.cs
- ReadOnlyObservableCollection.cs
- TextEditorSpelling.cs
- ViewBase.cs
- DataSourceSelectArguments.cs
- InstanceData.cs
- WebControl.cs
- UserPreferenceChangingEventArgs.cs
- RequestCachingSection.cs
- Set.cs
- FigureParagraph.cs
- UIElementPropertyUndoUnit.cs
- OrderedDictionary.cs
- CommandEventArgs.cs
- BuiltInPermissionSets.cs
- Bezier.cs
- Animatable.cs
- ListSortDescriptionCollection.cs
- DataContractJsonSerializer.cs
- EnvironmentPermission.cs
- GridViewCancelEditEventArgs.cs
- StylusLogic.cs
- HistoryEventArgs.cs
- WebPartEditorCancelVerb.cs
- HtmlString.cs
- TryExpression.cs
- TempFiles.cs
- DbSourceCommand.cs