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
- EnvelopedPkcs7.cs
- Lookup.cs
- CompiledXpathExpr.cs
- Imaging.cs
- HttpApplication.cs
- SafeSecurityHelper.cs
- RtType.cs
- SHA384Managed.cs
- XamlInt32CollectionSerializer.cs
- QilGenerator.cs
- LeaseManager.cs
- ToolStripDropDownClosedEventArgs.cs
- XsdBuildProvider.cs
- FileDialog_Vista.cs
- SequenceDesigner.cs
- ContextMenuAutomationPeer.cs
- ClientUrlResolverWrapper.cs
- HttpPostedFile.cs
- DataServiceStreamProviderWrapper.cs
- WindowsListViewGroupHelper.cs
- AbsoluteQuery.cs
- MetadataItem_Static.cs
- HttpResponseMessageProperty.cs
- HGlobalSafeHandle.cs
- SspiWrapper.cs
- XmlSequenceWriter.cs
- SafeArchiveContext.cs
- SemanticBasicElement.cs
- RestHandlerFactory.cs
- BaseProcessor.cs
- XLinq.cs
- UnsafeNativeMethods.cs
- EasingQuaternionKeyFrame.cs
- XmlValidatingReaderImpl.cs
- IsolatedStorageFileStream.cs
- SecurityVerifiedMessage.cs
- ControlPager.cs
- GraphicsState.cs
- ChangeInterceptorAttribute.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- DocumentViewerHelper.cs
- WebServiceTypeData.cs
- DictionaryItemsCollection.cs
- configsystem.cs
- Command.cs
- Translator.cs
- DocumentPageTextView.cs
- ForwardPositionQuery.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- HelpKeywordAttribute.cs
- MexTcpBindingCollectionElement.cs
- GraphicsPath.cs
- XhtmlBasicTextViewAdapter.cs
- TemplateBindingExtension.cs
- Int32Rect.cs
- QueueProcessor.cs
- KnownColorTable.cs
- WmlPanelAdapter.cs
- ValidatingReaderNodeData.cs
- DesignerLoader.cs
- VisualStyleInformation.cs
- SHA256.cs
- WorkflowDesignerMessageFilter.cs
- WebBrowsableAttribute.cs
- TargetInvocationException.cs
- ChildrenQuery.cs
- OleDbPermission.cs
- WindowsTooltip.cs
- CollectionDataContract.cs
- InstanceLockException.cs
- FieldToken.cs
- ZoneButton.cs
- MouseActionConverter.cs
- ComNativeDescriptor.cs
- ObjectHelper.cs
- ComplexPropertyEntry.cs
- Brush.cs
- ArgIterator.cs
- RouteParameter.cs
- ParserExtension.cs
- _NTAuthentication.cs
- FixedTextView.cs
- QueryReaderSettings.cs
- UIPermission.cs
- DetailsViewUpdateEventArgs.cs
- Highlights.cs
- SelectorItemAutomationPeer.cs
- FixedTextPointer.cs
- GenericsInstances.cs
- TemplatedMailWebEventProvider.cs
- SqlFunctionAttribute.cs
- WebContentFormatHelper.cs
- cryptoapiTransform.cs
- RestHandlerFactory.cs
- TransformerInfoCollection.cs
- ProcessInfo.cs
- CultureInfoConverter.cs
- ContractValidationHelper.cs
- DesignerActionPropertyItem.cs
- hwndwrapper.cs