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 / CodeTypeMember.cs / 1 / CodeTypeMember.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.Serialization; ////// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeTypeMember : CodeObject { private MemberAttributes attributes = MemberAttributes.Private | MemberAttributes.Final; private string name; private CodeCommentStatementCollection comments = new CodeCommentStatementCollection(); private CodeAttributeDeclarationCollection customAttributes = null; private CodeLinePragma linePragma; // Optionally Serializable [OptionalField] private CodeDirectiveCollection startDirectives = null; [OptionalField] private CodeDirectiveCollection endDirectives = null; ////// Represents a class member. /// ////// public string Name { get { return (name == null) ? string.Empty : name; } set { name = value; } } ////// Gets or sets /// the name of the member. /// ////// public MemberAttributes Attributes { get { return attributes; } set { attributes = value; } } ////// Gets or sets a ///indicating /// the attributes of the member. /// /// public CodeAttributeDeclarationCollection CustomAttributes { get { if (customAttributes == null) { customAttributes = new CodeAttributeDeclarationCollection(); } return customAttributes; } set { customAttributes = value; } } ////// Gets or sets a ///indicating /// the custom attributes of the /// member. /// /// public CodeLinePragma LinePragma { get { return linePragma; } set { linePragma = value; } } ////// The line the statement occurs on. /// ////// public CodeCommentStatementCollection Comments { get { return comments; } } 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 or sets the member comment collection members. /// ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.Serialization; ////// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeTypeMember : CodeObject { private MemberAttributes attributes = MemberAttributes.Private | MemberAttributes.Final; private string name; private CodeCommentStatementCollection comments = new CodeCommentStatementCollection(); private CodeAttributeDeclarationCollection customAttributes = null; private CodeLinePragma linePragma; // Optionally Serializable [OptionalField] private CodeDirectiveCollection startDirectives = null; [OptionalField] private CodeDirectiveCollection endDirectives = null; ////// Represents a class member. /// ////// public string Name { get { return (name == null) ? string.Empty : name; } set { name = value; } } ////// Gets or sets /// the name of the member. /// ////// public MemberAttributes Attributes { get { return attributes; } set { attributes = value; } } ////// Gets or sets a ///indicating /// the attributes of the member. /// /// public CodeAttributeDeclarationCollection CustomAttributes { get { if (customAttributes == null) { customAttributes = new CodeAttributeDeclarationCollection(); } return customAttributes; } set { customAttributes = value; } } ////// Gets or sets a ///indicating /// the custom attributes of the /// member. /// /// public CodeLinePragma LinePragma { get { return linePragma; } set { linePragma = value; } } ////// The line the statement occurs on. /// ////// public CodeCommentStatementCollection Comments { get { return comments; } } 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 or sets the member comment collection members. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- IApplicationTrustManager.cs
- RequestCachePolicy.cs
- SoapIncludeAttribute.cs
- AlternateViewCollection.cs
- QilInvokeLateBound.cs
- RSAPKCS1SignatureFormatter.cs
- StylusPlugin.cs
- SHA1CryptoServiceProvider.cs
- CheckoutException.cs
- TreeViewCancelEvent.cs
- GradientStopCollection.cs
- PathFigureCollection.cs
- PublisherMembershipCondition.cs
- EventListenerClientSide.cs
- PeerConnector.cs
- dsa.cs
- RowType.cs
- ProcessModelInfo.cs
- GridEntry.cs
- Utilities.cs
- NullableConverter.cs
- PriorityBindingExpression.cs
- ImageClickEventArgs.cs
- DataBindingList.cs
- Material.cs
- ProtocolsSection.cs
- ArrayExtension.cs
- ServiceModelConfigurationSection.cs
- DataSysAttribute.cs
- XamlLoadErrorInfo.cs
- XLinq.cs
- ClaimComparer.cs
- AssemblyUtil.cs
- TreeView.cs
- HttpListenerContext.cs
- PropertyPathWorker.cs
- Range.cs
- OrderedHashRepartitionEnumerator.cs
- ApplicationTrust.cs
- SystemFonts.cs
- ContentValidator.cs
- FontSource.cs
- XmlSchemaGroup.cs
- HostedTransportConfigurationBase.cs
- VisualStyleInformation.cs
- Dump.cs
- CompilerParameters.cs
- PropertyInformationCollection.cs
- SerializationObjectManager.cs
- DocumentViewerConstants.cs
- GC.cs
- StorageTypeMapping.cs
- TabItem.cs
- ChildrenQuery.cs
- SystemWebSectionGroup.cs
- RowToFieldTransformer.cs
- WebPartUtil.cs
- TaskScheduler.cs
- SimpleWorkerRequest.cs
- SharedPersonalizationStateInfo.cs
- CommandConverter.cs
- TokenizerHelper.cs
- AssemblyCache.cs
- Variable.cs
- HttpModuleAction.cs
- XmlSchemaValidationException.cs
- SafeUserTokenHandle.cs
- ReferenceAssemblyAttribute.cs
- StickyNoteHelper.cs
- Timeline.cs
- ByteStreamGeometryContext.cs
- ReliableSessionBindingElement.cs
- ResizeGrip.cs
- XmlILIndex.cs
- Console.cs
- _SecureChannel.cs
- DiscoveryClient.cs
- XmlSchemaInfo.cs
- ContextStack.cs
- ListViewContainer.cs
- XmlSchemaResource.cs
- ServiceProviders.cs
- SqlDataReader.cs
- uribuilder.cs
- InputLanguage.cs
- PerformanceCountersElement.cs
- SoapHeaderException.cs
- SqlAggregateChecker.cs
- WinInetCache.cs
- Transform.cs
- ScriptComponentDescriptor.cs
- XmlWrappingReader.cs
- SqlServices.cs
- listviewsubitemcollectioneditor.cs
- Int64Storage.cs
- Camera.cs
- externdll.cs
- SecurityContext.cs
- EncoderParameters.cs
- TreeNodeBinding.cs