Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets or setes /// the text of the comment. /// ///// 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Gets or setes /// the text of the comment. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SqlFactory.cs
- Soap12FormatExtensions.cs
- PaperSize.cs
- GroupBox.cs
- HtmlElementCollection.cs
- HuffmanTree.cs
- ListBoxItemWrapperAutomationPeer.cs
- CheckBoxFlatAdapter.cs
- PropertyNames.cs
- NamedPermissionSet.cs
- IProducerConsumerCollection.cs
- XPathDocumentBuilder.cs
- SendSecurityHeaderElementContainer.cs
- AssemblyResourceLoader.cs
- DataGridViewCellPaintingEventArgs.cs
- CollectionViewSource.cs
- InvalidCastException.cs
- XmlRawWriter.cs
- XmlWriterDelegator.cs
- PerformanceCountersElement.cs
- TextElement.cs
- StateBag.cs
- ReadingWritingEntityEventArgs.cs
- _CookieModule.cs
- NavigationCommands.cs
- XmlLinkedNode.cs
- ObjectSet.cs
- ObjectDesignerDataSourceView.cs
- MultiPageTextView.cs
- GroupBox.cs
- MessagePropertyVariants.cs
- GridItemProviderWrapper.cs
- IOException.cs
- ProtocolsSection.cs
- GeneralTransform.cs
- DPCustomTypeDescriptor.cs
- StateChangeEvent.cs
- SiteMapSection.cs
- DetailsViewUpdatedEventArgs.cs
- CaseStatement.cs
- Bezier.cs
- SmtpClient.cs
- SQLDecimalStorage.cs
- ValidationError.cs
- StoreItemCollection.Loader.cs
- DesignerToolStripControlHost.cs
- XmlExpressionDumper.cs
- XamlInt32CollectionSerializer.cs
- TextTrailingCharacterEllipsis.cs
- Html32TextWriter.cs
- DummyDataSource.cs
- Page.cs
- FileStream.cs
- TextAction.cs
- Executor.cs
- ScrollProviderWrapper.cs
- CatalogZoneAutoFormat.cs
- StatusStrip.cs
- HttpsTransportElement.cs
- DateTimeFormatInfo.cs
- PageOrientation.cs
- PrintPreviewGraphics.cs
- StreamReader.cs
- CollectionConverter.cs
- VisualTreeUtils.cs
- HandlerBase.cs
- SymmetricKey.cs
- MessageRpc.cs
- XmlSchemaComplexContentRestriction.cs
- DefaultHttpHandler.cs
- CheckBoxField.cs
- WebDescriptionAttribute.cs
- DebugTraceHelper.cs
- infer.cs
- ProfileService.cs
- AsyncOperationManager.cs
- DoubleAnimationClockResource.cs
- VerticalAlignConverter.cs
- TraceHwndHost.cs
- List.cs
- OverflowException.cs
- PtsHost.cs
- StreamReader.cs
- OleServicesContext.cs
- DtdParser.cs
- CompilationLock.cs
- CollectionEditor.cs
- Native.cs
- DesignSurfaceCollection.cs
- ObjectSet.cs
- WmlLiteralTextAdapter.cs
- GlobalizationSection.cs
- control.ime.cs
- XmlSchemaType.cs
- DataGridViewComboBoxColumn.cs
- DataColumnMappingCollection.cs
- DesignerProperties.cs
- IntSecurity.cs
- InlinedLocationReference.cs
- ResolvedKeyFrameEntry.cs