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
- JournalEntryListConverter.cs
- Parameter.cs
- SymbolEqualComparer.cs
- TrackingStringDictionary.cs
- XmlCharCheckingReader.cs
- StorageModelBuildProvider.cs
- BoundingRectTracker.cs
- Int32AnimationUsingKeyFrames.cs
- ConfigurationValues.cs
- DoubleStorage.cs
- GeneralTransform3DCollection.cs
- ProviderUtil.cs
- DataReaderContainer.cs
- WebPartConnectVerb.cs
- ISAPIApplicationHost.cs
- TextWriterTraceListener.cs
- InputLanguageSource.cs
- Property.cs
- externdll.cs
- ThicknessKeyFrameCollection.cs
- activationcontext.cs
- RichTextBox.cs
- ChannelPoolSettingsElement.cs
- TemplateParser.cs
- ThemeInfoAttribute.cs
- DrawingContext.cs
- SettingsBindableAttribute.cs
- ComponentResourceKeyConverter.cs
- SqlUserDefinedAggregateAttribute.cs
- ValidateNames.cs
- DocumentSequenceHighlightLayer.cs
- StatementContext.cs
- ContentElementAutomationPeer.cs
- DbConnectionInternal.cs
- SqlNotificationRequest.cs
- WindowsPen.cs
- XslNumber.cs
- EdmToObjectNamespaceMap.cs
- Serializer.cs
- WindowsListBox.cs
- GridViewEditEventArgs.cs
- WebPartTracker.cs
- SizeConverter.cs
- ToggleProviderWrapper.cs
- XmlnsDictionary.cs
- GPPOINT.cs
- LinqDataSourceDisposeEventArgs.cs
- ProxyWebPartConnectionCollection.cs
- PopupControlService.cs
- SecurityMessageProperty.cs
- ColorMatrix.cs
- BuildProviderAppliesToAttribute.cs
- TextClipboardData.cs
- MemberDomainMap.cs
- _TransmitFileOverlappedAsyncResult.cs
- AttributeCollection.cs
- DataKey.cs
- RoamingStoreFileUtility.cs
- CLRBindingWorker.cs
- Pkcs7Recipient.cs
- FileDialogPermission.cs
- AttachedPropertyBrowsableAttribute.cs
- WebScriptMetadataFormatter.cs
- MultipleViewProviderWrapper.cs
- SignatureDescription.cs
- Object.cs
- ObjectItemCollection.cs
- Hashtable.cs
- AdPostCacheSubstitution.cs
- TableLayoutColumnStyleCollection.cs
- CrossSiteScriptingValidation.cs
- ValidationPropertyAttribute.cs
- OpCodes.cs
- RawContentTypeMapper.cs
- PersonalizationEntry.cs
- ErrorRuntimeConfig.cs
- ModelProperty.cs
- UTF7Encoding.cs
- DataGridViewRowsRemovedEventArgs.cs
- XmlSchemaInfo.cs
- CategoryNameCollection.cs
- ModulesEntry.cs
- Attributes.cs
- TypeLibConverter.cs
- BitmapSource.cs
- DataTableMappingCollection.cs
- MailHeaderInfo.cs
- SafeFileMappingHandle.cs
- DatePickerAutomationPeer.cs
- SortQuery.cs
- UICuesEvent.cs
- ManagementScope.cs
- SelectorAutomationPeer.cs
- WebPartEditorCancelVerb.cs
- LazyInitializer.cs
- XPathEmptyIterator.cs
- TraceHwndHost.cs
- DebugHandleTracker.cs
- ComplexBindingPropertiesAttribute.cs
- OutKeywords.cs