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
- DataSetUtil.cs
- WhiteSpaceTrimStringConverter.cs
- StringSorter.cs
- ScrollViewer.cs
- FamilyMap.cs
- Model3DCollection.cs
- FixedSOMTableCell.cs
- xdrvalidator.cs
- PropertyMapper.cs
- OleDbWrapper.cs
- EmissiveMaterial.cs
- AdornerLayer.cs
- DesignerSerializationOptionsAttribute.cs
- ReadingWritingEntityEventArgs.cs
- NamedPipeProcessProtocolHandler.cs
- ReceiveSecurityHeaderElementManager.cs
- SchemaImporterExtensionElementCollection.cs
- ValueChangedEventManager.cs
- BuildDependencySet.cs
- Compress.cs
- CacheChildrenQuery.cs
- basevalidator.cs
- GeometryGroup.cs
- XmlSignificantWhitespace.cs
- OutputCacheSection.cs
- baseaxisquery.cs
- DiscardableAttribute.cs
- CDSCollectionETWBCLProvider.cs
- RunWorkerCompletedEventArgs.cs
- QueryPageSettingsEventArgs.cs
- DebugHandleTracker.cs
- MultiSelectRootGridEntry.cs
- SiteIdentityPermission.cs
- PublishLicense.cs
- EncoderBestFitFallback.cs
- StorageRoot.cs
- GridView.cs
- FontStyle.cs
- sqlser.cs
- HostingEnvironment.cs
- RsaSecurityTokenAuthenticator.cs
- VirtualPath.cs
- DependencySource.cs
- FrameworkRichTextComposition.cs
- ReferenceEqualityComparer.cs
- MessagePropertyDescription.cs
- RuleSettings.cs
- BindingMAnagerBase.cs
- Classification.cs
- CodeAttachEventStatement.cs
- MediaElement.cs
- ConfigurationSchemaErrors.cs
- SqlBulkCopyColumnMapping.cs
- XmlSchemaChoice.cs
- FloaterParagraph.cs
- SingleAnimationBase.cs
- tooltip.cs
- Aggregates.cs
- TTSEvent.cs
- FragmentNavigationEventArgs.cs
- ToolStripRendererSwitcher.cs
- ObjectDataSourceStatusEventArgs.cs
- PointKeyFrameCollection.cs
- GridViewHeaderRowPresenter.cs
- PolicyStatement.cs
- ObjectNotFoundException.cs
- CodeSnippetStatement.cs
- ServerValidateEventArgs.cs
- RegionIterator.cs
- OdbcConnectionStringbuilder.cs
- EntityCodeGenerator.cs
- ConnectionStringsExpressionBuilder.cs
- CompoundFileReference.cs
- DataObjectFieldAttribute.cs
- TemplateControlCodeDomTreeGenerator.cs
- ALinqExpressionVisitor.cs
- GreaterThan.cs
- FormattedTextSymbols.cs
- IntegerValidatorAttribute.cs
- WebPartCollection.cs
- HtmlListAdapter.cs
- XhtmlTextWriter.cs
- SqlDataSourceView.cs
- X509WindowsSecurityToken.cs
- DesignerActionService.cs
- BinaryMethodMessage.cs
- Converter.cs
- IPEndPointCollection.cs
- PasswordRecovery.cs
- InstancePersistenceException.cs
- DocumentGridPage.cs
- EvidenceTypeDescriptor.cs
- OleCmdHelper.cs
- IsolationInterop.cs
- QueryableFilterUserControl.cs
- AdvancedBindingPropertyDescriptor.cs
- XmlLinkedNode.cs
- XmlReader.cs
- Triangle.cs
- LZCodec.cs