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
- HtmlHistory.cs
- ScrollItemPattern.cs
- VirtualStackFrame.cs
- Canvas.cs
- AxisAngleRotation3D.cs
- ManagedIStream.cs
- KeyedCollection.cs
- InternalException.cs
- UnSafeCharBuffer.cs
- RoleManagerEventArgs.cs
- RoleManagerSection.cs
- HtmlInputRadioButton.cs
- RegexCompiler.cs
- WebPartEditVerb.cs
- ExceptionWrapper.cs
- MarkupExtensionReturnTypeAttribute.cs
- OletxTransactionHeader.cs
- Pipe.cs
- Int32RectConverter.cs
- StrokeCollectionDefaultValueFactory.cs
- ReflectionServiceProvider.cs
- ReferencedAssemblyResolver.cs
- CompleteWizardStep.cs
- ParsedAttributeCollection.cs
- OleDbErrorCollection.cs
- LocationReferenceValue.cs
- DynamicDataRoute.cs
- SlotInfo.cs
- ToolStripOverflowButton.cs
- ParameterCollectionEditorForm.cs
- LazyTextWriterCreator.cs
- OleDbPropertySetGuid.cs
- Help.cs
- LinkedResource.cs
- SapiGrammar.cs
- ContainerVisual.cs
- EventLogPermissionAttribute.cs
- EventHandlersStore.cs
- FragmentQuery.cs
- Empty.cs
- GC.cs
- entityreference_tresulttype.cs
- Literal.cs
- UnsafeNativeMethods.cs
- ContentPlaceHolder.cs
- ShapingEngine.cs
- DbgUtil.cs
- TextElementCollection.cs
- RoleGroupCollectionEditor.cs
- Events.cs
- SafeCloseHandleCritical.cs
- path.cs
- CardSpaceSelector.cs
- BitmapEffectDrawing.cs
- ListItemCollection.cs
- TimeoutException.cs
- GeneralTransform3DGroup.cs
- Console.cs
- DesignerEventService.cs
- WebPartPersonalization.cs
- PolicyChain.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- WebUtil.cs
- OutputCacheProfile.cs
- CachedTypeface.cs
- IdentitySection.cs
- TracePayload.cs
- UrlPath.cs
- WebPartVerbsEventArgs.cs
- ExpressionBuilderContext.cs
- DataServiceEntityAttribute.cs
- UserMapPath.cs
- SessionIDManager.cs
- StringOutput.cs
- DPTypeDescriptorContext.cs
- XmlCollation.cs
- DbConnectionFactory.cs
- AsyncContentLoadedEventArgs.cs
- HttpFileCollection.cs
- MissingSatelliteAssemblyException.cs
- BamlLocalizableResource.cs
- SizeFConverter.cs
- ValidationError.cs
- ViewStateException.cs
- WindowsListViewScroll.cs
- Rotation3DKeyFrameCollection.cs
- PropertyInformationCollection.cs
- ObjRef.cs
- FlowchartStart.xaml.cs
- PlatformCulture.cs
- CfgParser.cs
- DefaultAuthorizationContext.cs
- ConsoleCancelEventArgs.cs
- GeneralTransformGroup.cs
- DashStyle.cs
- NodeLabelEditEvent.cs
- AutoGeneratedField.cs
- InvokeMethod.cs
- XmlWellformedWriter.cs
- AmbiguousMatchException.cs