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
- EventLog.cs
- DockingAttribute.cs
- BitConverter.cs
- WindowsRebar.cs
- CreateDataSourceDialog.cs
- DbException.cs
- SymmetricAlgorithm.cs
- StringSource.cs
- VisualStyleInformation.cs
- ObjectStateEntry.cs
- ReadOnlyMetadataCollection.cs
- XPathNodeIterator.cs
- ItemsControlAutomationPeer.cs
- BaseHashHelper.cs
- ZipPackagePart.cs
- PropertyTabChangedEvent.cs
- ObjectConverter.cs
- DetailsViewPageEventArgs.cs
- HandleExceptionArgs.cs
- CompiledIdentityConstraint.cs
- UnmanagedMemoryStream.cs
- PropertyValueChangedEvent.cs
- DefaultAuthorizationContext.cs
- PointHitTestResult.cs
- ContextMenuAutomationPeer.cs
- DirectionalLight.cs
- BamlStream.cs
- SafeMILHandle.cs
- ExtendedProtectionPolicyElement.cs
- CopyAttributesAction.cs
- MenuBase.cs
- ExpressionVisitor.cs
- SHA256.cs
- DetailsViewUpdateEventArgs.cs
- InfoCardService.cs
- ColorMap.cs
- Point3DCollection.cs
- WindowsAuthenticationEventArgs.cs
- WindowsToolbarAsMenu.cs
- GridViewUpdatedEventArgs.cs
- UrlMapping.cs
- HttpCookiesSection.cs
- XmlSerializableReader.cs
- ToolStripDropDownMenu.cs
- CustomWebEventKey.cs
- StreamMarshaler.cs
- CustomExpression.cs
- SoapCodeExporter.cs
- Pen.cs
- PermissionSet.cs
- DelimitedListTraceListener.cs
- __Error.cs
- Point4DConverter.cs
- ProfileWorkflowElement.cs
- RequestCacheValidator.cs
- SoapClientProtocol.cs
- SafeArrayTypeMismatchException.cs
- DirectoryInfo.cs
- TracingConnectionListener.cs
- DataGridViewControlCollection.cs
- LexicalChunk.cs
- WrappedIUnknown.cs
- CapabilitiesUse.cs
- FormsAuthenticationCredentials.cs
- FtpRequestCacheValidator.cs
- UnSafeCharBuffer.cs
- RegexGroupCollection.cs
- HierarchicalDataTemplate.cs
- FunctionDescription.cs
- EncoderReplacementFallback.cs
- WaitHandleCannotBeOpenedException.cs
- dsa.cs
- Timeline.cs
- VersionedStream.cs
- OpCellTreeNode.cs
- Accessible.cs
- DiscoveryDocument.cs
- XmlSchemaAnnotated.cs
- DataSourceCache.cs
- Activator.cs
- GridView.cs
- CompareInfo.cs
- HashStream.cs
- TimestampInformation.cs
- ConfigXmlText.cs
- SchemaNamespaceManager.cs
- ContentDefinition.cs
- QueryAsyncResult.cs
- HTTPAPI_VERSION.cs
- TimeSpanValidatorAttribute.cs
- GlobalId.cs
- XmlSchemaComplexContentExtension.cs
- HtmlElementErrorEventArgs.cs
- AudioDeviceOut.cs
- RectangleHotSpot.cs
- ListSourceHelper.cs
- DropAnimation.xaml.cs
- MimeMapping.cs
- XslTransform.cs
- SqlCacheDependencySection.cs