Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- ElementUtil.cs
- SpellerInterop.cs
- HtmlButton.cs
- CodeNamespaceImportCollection.cs
- DataGridViewBand.cs
- ResourceDisplayNameAttribute.cs
- BitStack.cs
- ObjectHandle.cs
- AuthenticationServiceManager.cs
- SiteMap.cs
- ObservableCollection.cs
- HandleRef.cs
- ColorDialog.cs
- AnonymousIdentificationModule.cs
- QilTypeChecker.cs
- AppSettingsSection.cs
- IfAction.cs
- ProcessHost.cs
- Image.cs
- RestClientProxyHandler.cs
- RangeValuePatternIdentifiers.cs
- BookmarkCallbackWrapper.cs
- MaterializeFromAtom.cs
- ProtectedConfigurationSection.cs
- JumpPath.cs
- WebPartMovingEventArgs.cs
- DefaultCommandConverter.cs
- Constraint.cs
- GlyphInfoList.cs
- DesignerActionListCollection.cs
- XmlUtil.cs
- AdornerDecorator.cs
- XmlSchemaAttributeGroupRef.cs
- FixedFindEngine.cs
- SafeRightsManagementHandle.cs
- DefaultEventAttribute.cs
- MapPathBasedVirtualPathProvider.cs
- ArrayElementGridEntry.cs
- HttpServerProtocol.cs
- XmlSchemaException.cs
- FullTextState.cs
- Propagator.cs
- _BasicClient.cs
- OdbcConnectionPoolProviderInfo.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- AttachInfo.cs
- ResolveNameEventArgs.cs
- DataGridViewRowsRemovedEventArgs.cs
- Panel.cs
- CallContext.cs
- SoapAttributes.cs
- ApplyTemplatesAction.cs
- AnnotationResourceCollection.cs
- ImageListStreamer.cs
- XmlBoundElement.cs
- NumberFunctions.cs
- AddValidationError.cs
- SystemDiagnosticsSection.cs
- IncomingWebRequestContext.cs
- AstNode.cs
- TaskForm.cs
- AnimationStorage.cs
- MailHeaderInfo.cs
- HitTestParameters3D.cs
- FixedTextSelectionProcessor.cs
- PersonalizationAdministration.cs
- MasterPageParser.cs
- Page.cs
- Crc32.cs
- FloaterBaseParaClient.cs
- MultiView.cs
- HostedNamedPipeTransportManager.cs
- PartialCachingControl.cs
- SoapAttributeOverrides.cs
- ImagingCache.cs
- StreamGeometry.cs
- Italic.cs
- Image.cs
- ClipboardProcessor.cs
- DataGridViewRowHeaderCell.cs
- TypeSystem.cs
- SqlWriter.cs
- _PooledStream.cs
- MeasurementDCInfo.cs
- SystemParameters.cs
- CmsInterop.cs
- PassportAuthentication.cs
- XmlDataProvider.cs
- sqlpipe.cs
- NegotiationTokenAuthenticator.cs
- SymDocumentType.cs
- Transform3DGroup.cs
- SizeValueSerializer.cs
- CollectionViewSource.cs
- Stroke.cs
- ProcessHost.cs
- _Rfc2616CacheValidators.cs
- IncrementalReadDecoders.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- ProviderCollection.cs