Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / CompMod / System / CodeDOM / CodeComment.cs / 1 / CodeComment.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ////// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeComment : CodeObject { private string text; private bool docComment = false; ///Represents a comment. ////// public CodeComment() { } ////// Initializes a new instance of ///. /// /// public CodeComment(string text) { Text = text; } ////// Initializes a new instance of ///with the specified text as /// contents. /// /// public CodeComment(string text, bool docComment) { Text = text; this.docComment = docComment; } ///[To be supplied.] ////// public bool DocComment { get { return docComment; } set { docComment = value; } } ///[To be supplied.] ////// public string Text { get { return (text == null) ? string.Empty : text; } set { text = value; } } } }/// Gets or setes /// the text of the comment. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- IdentityHolder.cs
- GraphicsContainer.cs
- MasterPageParser.cs
- TreeNodeStyleCollection.cs
- DispatchRuntime.cs
- XmlNavigatorStack.cs
- RoutedEventHandlerInfo.cs
- WindowsFormsSynchronizationContext.cs
- PartitionResolver.cs
- CollectionViewSource.cs
- QilReplaceVisitor.cs
- SerialStream.cs
- HyperLink.cs
- AuthorizationRule.cs
- AmbientProperties.cs
- XmlSchemaValidationException.cs
- StrokeCollectionConverter.cs
- Column.cs
- SecurityDocument.cs
- NamespaceQuery.cs
- ProjectionNode.cs
- ConnectionManagementElement.cs
- Cell.cs
- SecurityTokenReferenceStyle.cs
- TextViewSelectionProcessor.cs
- EdmScalarPropertyAttribute.cs
- XmlWrappingWriter.cs
- PageAsyncTaskManager.cs
- SyntaxCheck.cs
- SwitchElementsCollection.cs
- ImageFormatConverter.cs
- CommentAction.cs
- X509LogoTypeExtension.cs
- XmlAttributeOverrides.cs
- XmlHierarchyData.cs
- complextypematerializer.cs
- MailWriter.cs
- MimeMapping.cs
- ServicePointManagerElement.cs
- ClrPerspective.cs
- InstanceView.cs
- GlyphCache.cs
- HtmlInputImage.cs
- ListBindableAttribute.cs
- DynamicILGenerator.cs
- ValueTypeFixupInfo.cs
- Image.cs
- VectorConverter.cs
- DefaultObjectMappingItemCollection.cs
- RemotingServices.cs
- PrintDocument.cs
- CommandManager.cs
- SectionRecord.cs
- WaitingCursor.cs
- CodeSnippetExpression.cs
- PersonalizableTypeEntry.cs
- DtdParser.cs
- SystemIPInterfaceStatistics.cs
- TimelineGroup.cs
- ExpandSegmentCollection.cs
- SafeNativeMethods.cs
- TypeDefinition.cs
- TemplateBindingExpression.cs
- Accessors.cs
- SoapHttpTransportImporter.cs
- ValueConversionAttribute.cs
- WhitespaceReader.cs
- CaseExpr.cs
- ChannelBinding.cs
- InvalidMessageContractException.cs
- ScrollViewerAutomationPeer.cs
- SiteMapDataSourceView.cs
- EndOfStreamException.cs
- MethodAccessException.cs
- AppDomainAttributes.cs
- arclist.cs
- SoapFaultCodes.cs
- WhitespaceRuleReader.cs
- XmlDataImplementation.cs
- BinaryParser.cs
- ServiceMetadataBehavior.cs
- LocalizationComments.cs
- PkcsUtils.cs
- ProviderBase.cs
- MethodToken.cs
- ContainsSearchOperator.cs
- PenContext.cs
- TreeViewDesigner.cs
- GlyphCache.cs
- DataObjectEventArgs.cs
- ContainerVisual.cs
- HttpHandlerActionCollection.cs
- PersonalizationAdministration.cs
- PropertyTab.cs
- CmsUtils.cs
- ManagementOptions.cs
- EntityWithKeyStrategy.cs
- SectionXmlInfo.cs
- BoundsDrawingContextWalker.cs
- ListViewEditEventArgs.cs