Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeComment.cs / 1305376 / CodeComment.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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. /// ///// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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
- NGCPageContentSerializerAsync.cs
- MissingManifestResourceException.cs
- XmlUrlResolver.cs
- ColorContextHelper.cs
- BrushConverter.cs
- ListManagerBindingsCollection.cs
- DataGridItemCollection.cs
- DataControlPagerLinkButton.cs
- MDIWindowDialog.cs
- RuntimeWrappedException.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- ProcessHostConfigUtils.cs
- CodeAccessPermission.cs
- ServiceOperation.cs
- ListViewHitTestInfo.cs
- TextDocumentView.cs
- PageAsyncTask.cs
- FrugalList.cs
- PropertyTabChangedEvent.cs
- RegexCompiler.cs
- FixedSOMSemanticBox.cs
- SpeakInfo.cs
- TableItemStyle.cs
- UInt16.cs
- TableCellAutomationPeer.cs
- TextFormatterContext.cs
- ISFTagAndGuidCache.cs
- CompoundFileDeflateTransform.cs
- PropertyPushdownHelper.cs
- Pen.cs
- IIS7WorkerRequest.cs
- AvTraceDetails.cs
- CommonServiceBehaviorElement.cs
- BaseCollection.cs
- ExpressionNormalizer.cs
- ExtendedPropertyCollection.cs
- DbCommandTree.cs
- SharedDp.cs
- ReferenceAssemblyAttribute.cs
- PerfCounterSection.cs
- SamlSecurityToken.cs
- DetailsViewUpdatedEventArgs.cs
- CommandEventArgs.cs
- UpdateRecord.cs
- ExtendedProtectionPolicy.cs
- MenuItemCollection.cs
- SQLCharsStorage.cs
- EncodingStreamWrapper.cs
- InputBindingCollection.cs
- DirectoryObjectSecurity.cs
- PtsPage.cs
- FtpWebRequest.cs
- GenericUriParser.cs
- Sql8ConformanceChecker.cs
- ComponentChangedEvent.cs
- TableHeaderCell.cs
- TextView.cs
- ToolboxComponentsCreatedEventArgs.cs
- HttpModulesSection.cs
- SqlDataSourceStatusEventArgs.cs
- httpstaticobjectscollection.cs
- IndicFontClient.cs
- RectangleConverter.cs
- clipboard.cs
- sqlser.cs
- SoapMessage.cs
- InstanceDataCollection.cs
- XhtmlTextWriter.cs
- Models.cs
- MetadataPropertyvalue.cs
- FixedDocumentPaginator.cs
- XmlCDATASection.cs
- ReferencedType.cs
- PointConverter.cs
- GridViewHeaderRowPresenter.cs
- PartialClassGenerationTask.cs
- ViewCellRelation.cs
- Matrix3DValueSerializer.cs
- StrokeIntersection.cs
- TableRowGroup.cs
- ConfigurationManagerHelperFactory.cs
- XmlReturnWriter.cs
- ResetableIterator.cs
- base64Transforms.cs
- WSSecurityXXX2005.cs
- LexicalChunk.cs
- XmlUnspecifiedAttribute.cs
- ClientRuntimeConfig.cs
- Thickness.cs
- SyndicationSerializer.cs
- CreateUserWizardAutoFormat.cs
- XmlParserContext.cs
- SymmetricAlgorithm.cs
- TripleDESCryptoServiceProvider.cs
- Literal.cs
- EncoderNLS.cs
- PersonalizableAttribute.cs
- DoWhileDesigner.xaml.cs
- MetafileHeader.cs
- QuaternionAnimation.cs