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
- ViewManager.cs
- FeatureManager.cs
- RelationshipEndCollection.cs
- SubtreeProcessor.cs
- ToolStripSplitStackLayout.cs
- PageCodeDomTreeGenerator.cs
- ChangeDirector.cs
- Journal.cs
- IndexOutOfRangeException.cs
- WebSysDescriptionAttribute.cs
- Int32KeyFrameCollection.cs
- ThreadExceptionDialog.cs
- SystemSounds.cs
- BamlRecords.cs
- FormViewDeleteEventArgs.cs
- ErrorHandlerModule.cs
- XmlBaseWriter.cs
- EventMap.cs
- WSSecureConversation.cs
- DateTimeValueSerializer.cs
- Bezier.cs
- Closure.cs
- Panel.cs
- DateTimeOffsetAdapter.cs
- BinaryFormatter.cs
- TextRangeAdaptor.cs
- SecurityToken.cs
- RNGCryptoServiceProvider.cs
- SymbolEqualComparer.cs
- TemplateBaseAction.cs
- StrokeCollectionDefaultValueFactory.cs
- VectorValueSerializer.cs
- WebPartMovingEventArgs.cs
- CompositeDuplexElement.cs
- VisualStyleTypesAndProperties.cs
- WebBrowserNavigatingEventHandler.cs
- CapabilitiesState.cs
- WebPartMenuStyle.cs
- SystemResourceHost.cs
- XmlBinaryReader.cs
- MeshGeometry3D.cs
- DataServiceProviderWrapper.cs
- ConfigurationSectionGroup.cs
- MatrixCamera.cs
- ObservableCollection.cs
- XmlDocumentSerializer.cs
- XsltLibrary.cs
- SignedXmlDebugLog.cs
- SchemaMerger.cs
- BasicDesignerLoader.cs
- DataServiceQueryException.cs
- TrackingSection.cs
- ActionFrame.cs
- SqlPersonalizationProvider.cs
- WebPartUserCapability.cs
- InputScope.cs
- SymmetricAlgorithm.cs
- WindowsFormsHost.cs
- HtmlButton.cs
- Catch.cs
- XmlSchemaNotation.cs
- IriParsingElement.cs
- RuleRefElement.cs
- ConfigWriter.cs
- SqlCommandBuilder.cs
- TypeHelpers.cs
- FacetValueContainer.cs
- DataServiceProviderMethods.cs
- UniqueIdentifierService.cs
- DecoderReplacementFallback.cs
- FixedPage.cs
- AttributeEmitter.cs
- BufferBuilder.cs
- X509Extension.cs
- DataServiceStreamProviderWrapper.cs
- WebPartsPersonalization.cs
- KerberosSecurityTokenProvider.cs
- Matrix3DConverter.cs
- RuntimeResourceSet.cs
- Attachment.cs
- TextEncodedRawTextWriter.cs
- CannotUnloadAppDomainException.cs
- ApplicationCommands.cs
- WebPartCatalogCloseVerb.cs
- ContractCodeDomInfo.cs
- Clause.cs
- Size3DConverter.cs
- CompressStream.cs
- XPathSelectionIterator.cs
- CharAnimationUsingKeyFrames.cs
- TdsParserHelperClasses.cs
- MessagePropertyFilter.cs
- TokenDescriptor.cs
- SynchronizedInputProviderWrapper.cs
- TypeResolver.cs
- StringWriter.cs
- Vector3DAnimationBase.cs
- DebuggerAttributes.cs
- XLinq.cs
- Oid.cs