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
- GenericParameterDataContract.cs
- TypefaceMap.cs
- InternalRelationshipCollection.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- SQLDecimal.cs
- RequestCacheManager.cs
- EncoderReplacementFallback.cs
- XmlFormatReaderGenerator.cs
- MetadataCache.cs
- GridViewSelectEventArgs.cs
- Internal.cs
- Parser.cs
- EventBuilder.cs
- PerfCounters.cs
- MetadataReference.cs
- AuthenticationManager.cs
- DataGridViewCellPaintingEventArgs.cs
- CompatibleIComparer.cs
- RbTree.cs
- DataSourceCollectionBase.cs
- ImageSource.cs
- SoapSchemaImporter.cs
- basemetadatamappingvisitor.cs
- ExtentJoinTreeNode.cs
- X509CertificateInitiatorClientCredential.cs
- ConnectionPointCookie.cs
- IisTraceWebEventProvider.cs
- XmlTextEncoder.cs
- Validator.cs
- HtmlInputReset.cs
- WmlCommandAdapter.cs
- MexHttpsBindingElement.cs
- PropertyGeneratedEventArgs.cs
- DataBinder.cs
- ValueConversionAttribute.cs
- DataObject.cs
- ScrollBar.cs
- LocatorGroup.cs
- ObjectListItemCollection.cs
- _BaseOverlappedAsyncResult.cs
- ProgressChangedEventArgs.cs
- BmpBitmapEncoder.cs
- PropertyCondition.cs
- XmlAttributeCache.cs
- Vector3DAnimation.cs
- EdmItemError.cs
- CallContext.cs
- RijndaelCryptoServiceProvider.cs
- FlagPanel.cs
- SrgsRule.cs
- MediaScriptCommandRoutedEventArgs.cs
- CorePropertiesFilter.cs
- HostingPreferredMapPath.cs
- Compensation.cs
- ContractCodeDomInfo.cs
- AccessViolationException.cs
- WebPartUtil.cs
- SimpleColumnProvider.cs
- CellLabel.cs
- XpsStructure.cs
- WindowsScrollBarBits.cs
- WebPartCloseVerb.cs
- DetailsViewRow.cs
- Encoder.cs
- XmlSchemaAttributeGroupRef.cs
- NamespaceTable.cs
- DiscoveryEndpointElement.cs
- DataService.cs
- TableLayout.cs
- SamlAttributeStatement.cs
- MasterPageParser.cs
- CheckBoxDesigner.cs
- Panel.cs
- Path.cs
- TreeNodeStyleCollection.cs
- ParameterToken.cs
- CommandManager.cs
- WarningException.cs
- PropertyMapper.cs
- Token.cs
- _LocalDataStoreMgr.cs
- AlternateViewCollection.cs
- FilterQueryOptionExpression.cs
- ConfigPathUtility.cs
- GroupPartitionExpr.cs
- WrapPanel.cs
- PersonalizationStateQuery.cs
- SqlDataSourceEnumerator.cs
- GroupLabel.cs
- InvalidEnumArgumentException.cs
- SqlStream.cs
- Fonts.cs
- FragmentQueryKB.cs
- _StreamFramer.cs
- CultureInfoConverter.cs
- ConfigXmlAttribute.cs
- webbrowsersite.cs
- SHA512.cs
- InfoCardProofToken.cs
- LogicalExpr.cs