Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeTypeMember.cs / 1305376 / CodeTypeMember.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- 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; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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. /// ///// // //----------------------------------------------------------------------------- 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; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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
- Polygon.cs
- NativeMethods.cs
- XmlMemberMapping.cs
- RSAPKCS1KeyExchangeFormatter.cs
- WaitForChangedResult.cs
- WindowsFont.cs
- ValueSerializerAttribute.cs
- ContentPathSegment.cs
- IImplicitResourceProvider.cs
- ZipPackage.cs
- storepermissionattribute.cs
- Console.cs
- SqlCrossApplyToCrossJoin.cs
- HwndAppCommandInputProvider.cs
- TypeSystem.cs
- PersonalizablePropertyEntry.cs
- PathSegment.cs
- ConfigXmlElement.cs
- ConsoleEntryPoint.cs
- TrackingConditionCollection.cs
- InternalDispatchObject.cs
- ServiceEndpointAssociationProvider.cs
- ImageAttributes.cs
- QueuePropertyVariants.cs
- RadialGradientBrush.cs
- DataGridItem.cs
- XamlWriter.cs
- WebPartChrome.cs
- XamlRtfConverter.cs
- LineBreak.cs
- SystemFonts.cs
- XmlSchemaAnyAttribute.cs
- PeerToPeerException.cs
- CFStream.cs
- StorageMappingFragment.cs
- EncodingTable.cs
- SqlCacheDependencyDatabase.cs
- WSFederationHttpBindingElement.cs
- ReaderWriterLockWrapper.cs
- TextAnchor.cs
- MutexSecurity.cs
- ThousandthOfEmRealPoints.cs
- UpdateExpressionVisitor.cs
- GridViewColumnHeader.cs
- ListItemCollection.cs
- Unit.cs
- PostBackTrigger.cs
- HwndSourceParameters.cs
- DeclarationUpdate.cs
- AttributeCollection.cs
- _UriTypeConverter.cs
- DictionarySectionHandler.cs
- odbcmetadatafactory.cs
- ScaleTransform3D.cs
- ImportException.cs
- DateTimeAutomationPeer.cs
- ProtocolsSection.cs
- BuilderPropertyEntry.cs
- XmlReflectionImporter.cs
- CultureInfo.cs
- SafeBitVector32.cs
- BuildManager.cs
- DesignerDataTableBase.cs
- PhysicalAddress.cs
- ProxyGenerationError.cs
- SqlDataSourceRefreshSchemaForm.cs
- _KerberosClient.cs
- SerializationFieldInfo.cs
- _NestedSingleAsyncResult.cs
- TemplatePartAttribute.cs
- ActionMismatchAddressingException.cs
- Types.cs
- Validator.cs
- SchemaInfo.cs
- SocketException.cs
- ProxyGenerator.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- EntityContainerRelationshipSetEnd.cs
- IntSecurity.cs
- EventRecordWrittenEventArgs.cs
- UrlPropertyAttribute.cs
- WindowsEditBox.cs
- MenuItem.cs
- isolationinterop.cs
- RectangleF.cs
- XmlEncodedRawTextWriter.cs
- AttachedAnnotation.cs
- PriorityItem.cs
- EntityDataSourceWrapperPropertyDescriptor.cs
- DataRowExtensions.cs
- GeneratedCodeAttribute.cs
- ServiceDiscoveryElement.cs
- ConfigurationSchemaErrors.cs
- CommandValueSerializer.cs
- CfgSemanticTag.cs
- WebScriptEnablingBehavior.cs
- SoundPlayer.cs
- MimeObjectFactory.cs
- SupportsPreviewControlAttribute.cs
- FtpWebRequest.cs