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
- TreeNodeBindingDepthConverter.cs
- ParserContext.cs
- DummyDataSource.cs
- MsmqBindingMonitor.cs
- StylusPointPropertyInfo.cs
- SQLInt32.cs
- HtmlInputPassword.cs
- OraclePermissionAttribute.cs
- DocumentPageHost.cs
- TextTabProperties.cs
- LayoutEvent.cs
- HierarchicalDataBoundControl.cs
- FixedSOMTextRun.cs
- ChoiceConverter.cs
- TableLayoutSettingsTypeConverter.cs
- GridViewDeleteEventArgs.cs
- BamlResourceSerializer.cs
- TaskResultSetter.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- QueryRewriter.cs
- UrlPath.cs
- XPathScanner.cs
- MissingFieldException.cs
- IntegerValidator.cs
- EdmRelationshipRoleAttribute.cs
- XamlPoint3DCollectionSerializer.cs
- util.cs
- CompressionTransform.cs
- RC2CryptoServiceProvider.cs
- DataBoundControl.cs
- ConnectionInterfaceCollection.cs
- BinaryConverter.cs
- IOException.cs
- BitmapSource.cs
- DnsPermission.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- TypeDescriptor.cs
- UriParserTemplates.cs
- KeyConverter.cs
- ParseHttpDate.cs
- CqlParserHelpers.cs
- DynamicPropertyHolder.cs
- Privilege.cs
- sqlpipe.cs
- ValidationPropertyAttribute.cs
- DependencyProperty.cs
- CompilerResults.cs
- DateTimeConverter2.cs
- HttpPostedFile.cs
- WebPartConnectionsConfigureVerb.cs
- XmlHierarchicalEnumerable.cs
- ServiceNotStartedException.cs
- NavigationWindow.cs
- WebPartCatalogCloseVerb.cs
- XPathMultyIterator.cs
- AutomationPropertyInfo.cs
- HealthMonitoringSectionHelper.cs
- RichTextBoxAutomationPeer.cs
- SchemaNotation.cs
- XmlCDATASection.cs
- TablePattern.cs
- AVElementHelper.cs
- GlyphingCache.cs
- ControlIdConverter.cs
- MetaColumn.cs
- HostUtils.cs
- OdbcInfoMessageEvent.cs
- SqlParameterizer.cs
- TextEffect.cs
- ViewPort3D.cs
- InkCanvasSelection.cs
- AspNetHostingPermission.cs
- Help.cs
- CodePageUtils.cs
- Variable.cs
- DataServiceQuery.cs
- Attributes.cs
- ToolStripOverflowButton.cs
- Throw.cs
- CachedTypeface.cs
- RepeaterCommandEventArgs.cs
- UpdateExpressionVisitor.cs
- XmlEncoding.cs
- InsufficientExecutionStackException.cs
- PointHitTestParameters.cs
- AccessDataSource.cs
- ImpersonationContext.cs
- TableAdapterManagerHelper.cs
- StreamResourceInfo.cs
- CriticalExceptions.cs
- AssemblyAttributesGoHere.cs
- RadioButton.cs
- ClickablePoint.cs
- _FtpDataStream.cs
- DbDataSourceEnumerator.cs
- DbException.cs
- XmlSignatureProperties.cs
- base64Transforms.cs
- EdmProperty.cs
- Padding.cs