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
- AnnotationObservableCollection.cs
- CodeExporter.cs
- GC.cs
- FeatureSupport.cs
- UnescapedXmlDiagnosticData.cs
- BitStack.cs
- XmlILAnnotation.cs
- SemanticValue.cs
- GiveFeedbackEventArgs.cs
- ResXResourceReader.cs
- SafeSystemMetrics.cs
- Margins.cs
- ReadWriteObjectLock.cs
- MimeTypePropertyAttribute.cs
- ValidatorUtils.cs
- HMACSHA384.cs
- ConnectionProviderAttribute.cs
- TextWriterTraceListener.cs
- CodeRegionDirective.cs
- ReflectEventDescriptor.cs
- QilName.cs
- PropertyItemInternal.cs
- IODescriptionAttribute.cs
- Parameter.cs
- ToolStripDropDownButton.cs
- ToolStripSettings.cs
- CharAnimationUsingKeyFrames.cs
- WindowVisualStateTracker.cs
- ColumnClickEvent.cs
- SqlXmlStorage.cs
- X509WindowsSecurityToken.cs
- AppDomain.cs
- Directory.cs
- CompositeFontFamily.cs
- _ListenerRequestStream.cs
- SafeNativeMethods.cs
- RightNameExpirationInfoPair.cs
- BidOverLoads.cs
- EmptyEnumerator.cs
- CharAnimationBase.cs
- ProgressChangedEventArgs.cs
- EventWaitHandleSecurity.cs
- LineVisual.cs
- BorderGapMaskConverter.cs
- CompiledIdentityConstraint.cs
- ReplyChannel.cs
- WindowsComboBox.cs
- SoapSchemaImporter.cs
- GridViewUpdatedEventArgs.cs
- PersonalizationStateInfo.cs
- ScriptRef.cs
- invalidudtexception.cs
- AdornerLayer.cs
- HtmlTableRowCollection.cs
- RowCache.cs
- ConsoleTraceListener.cs
- DataServiceHost.cs
- ServiceMetadataBehavior.cs
- DataGridAddNewRow.cs
- DeploymentSectionCache.cs
- MemberPath.cs
- ScrollBar.cs
- AdvancedBindingPropertyDescriptor.cs
- ContractTypeNameElement.cs
- Soap12ProtocolImporter.cs
- CommonObjectSecurity.cs
- ListenerConstants.cs
- DBDataPermissionAttribute.cs
- ClassHandlersStore.cs
- BulletedList.cs
- ToolBarOverflowPanel.cs
- TextParagraph.cs
- LinqExpressionNormalizer.cs
- XmlBinaryReader.cs
- RewritingProcessor.cs
- ClientTargetCollection.cs
- NameValueCollection.cs
- DirectionalLight.cs
- StreamUpgradeInitiator.cs
- TdsParserSessionPool.cs
- SafeViewOfFileHandle.cs
- TextStore.cs
- AppDomainManager.cs
- DataGridViewRowsAddedEventArgs.cs
- externdll.cs
- DataGridViewComboBoxColumnDesigner.cs
- SafeLibraryHandle.cs
- GroupLabel.cs
- ApplyImportsAction.cs
- EncoderParameters.cs
- ProxyHelper.cs
- Misc.cs
- SessionStateSection.cs
- RadioButtonList.cs
- FilterElement.cs
- QuaternionAnimationUsingKeyFrames.cs
- GeneralTransform.cs
- HierarchicalDataBoundControlAdapter.cs
- DataGridPreparingCellForEditEventArgs.cs
- SupportsEventValidationAttribute.cs