Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- ServiceOperation.cs
- IisTraceListener.cs
- XPathPatternBuilder.cs
- XmlDeclaration.cs
- RNGCryptoServiceProvider.cs
- SuppressMergeCheckAttribute.cs
- ActivityInstanceMap.cs
- controlskin.cs
- Vector3D.cs
- NumberFormatInfo.cs
- DBSqlParserTable.cs
- FileNameEditor.cs
- designeractionbehavior.cs
- DesignerAdRotatorAdapter.cs
- RangeValueProviderWrapper.cs
- Number.cs
- ColorConvertedBitmapExtension.cs
- SizeConverter.cs
- XmlCodeExporter.cs
- DrawingAttributes.cs
- Base64Encoder.cs
- TextFragmentEngine.cs
- XMLDiffLoader.cs
- ResourceProviderFactory.cs
- DataListItemEventArgs.cs
- SRDisplayNameAttribute.cs
- FileLogRecordHeader.cs
- MemberDomainMap.cs
- PageCatalogPart.cs
- PagesSection.cs
- ToolStripOverflow.cs
- SiteMapNode.cs
- Config.cs
- PersonalizationState.cs
- sqlmetadatafactory.cs
- FormatSettings.cs
- AstTree.cs
- MulticastNotSupportedException.cs
- BeginGetFileNameFromUserRequest.cs
- XmlSchemaInclude.cs
- SelectorAutomationPeer.cs
- EntityDescriptor.cs
- ScrollChrome.cs
- XmlTextReaderImpl.cs
- GetIndexBinder.cs
- Logging.cs
- DragCompletedEventArgs.cs
- PackageFilter.cs
- SQLChars.cs
- CompilerInfo.cs
- EditorZone.cs
- SiteMapHierarchicalDataSourceView.cs
- DocobjHost.cs
- EntityClientCacheEntry.cs
- BitmapFrameDecode.cs
- PostBackTrigger.cs
- thaishape.cs
- TimeStampChecker.cs
- TimelineGroup.cs
- DependencyObjectPropertyDescriptor.cs
- ValueSerializer.cs
- DebugView.cs
- arabicshape.cs
- FacetValues.cs
- GridViewEditEventArgs.cs
- NavigationPropertyEmitter.cs
- prefixendpointaddressmessagefilter.cs
- BamlTreeUpdater.cs
- CurrentChangingEventManager.cs
- WebDisplayNameAttribute.cs
- DataSourceControl.cs
- tooltip.cs
- AllMembershipCondition.cs
- DesignerWebPartChrome.cs
- OracleTransaction.cs
- TextServicesHost.cs
- PageHandlerFactory.cs
- ApplicationException.cs
- XslTransform.cs
- StateRuntime.cs
- ThemeConfigurationDialog.cs
- CacheOutputQuery.cs
- X509ChainPolicy.cs
- OperationAbortedException.cs
- PartitionResolver.cs
- HttpRequestTraceRecord.cs
- ArraySubsetEnumerator.cs
- EmptyQuery.cs
- UnsafeNativeMethods.cs
- WindowVisualStateTracker.cs
- MailDefinition.cs
- TypeSemantics.cs
- InvalidAsynchronousStateException.cs
- ComplexLine.cs
- IERequestCache.cs
- GridViewColumnHeaderAutomationPeer.cs
- IdentitySection.cs
- WindowsSolidBrush.cs
- BaseTemplateCodeDomTreeGenerator.cs
- RemotingSurrogateSelector.cs