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
- OpCellTreeNode.cs
- EventLogException.cs
- MessagePartDescription.cs
- OneOfConst.cs
- MultipartContentParser.cs
- RouteCollection.cs
- DomainUpDown.cs
- BitmapCodecInfoInternal.cs
- RegexRunner.cs
- DefinitionUpdate.cs
- HierarchicalDataSourceIDConverter.cs
- HostedHttpRequestAsyncResult.cs
- WithParamAction.cs
- HttpStreamXmlDictionaryReader.cs
- AnonymousIdentificationSection.cs
- DocumentViewerAutomationPeer.cs
- columnmapkeybuilder.cs
- UpDownEvent.cs
- CodeTypeMember.cs
- RijndaelManaged.cs
- ProfileSettingsCollection.cs
- MediaElementAutomationPeer.cs
- ClientTarget.cs
- ResourcePermissionBase.cs
- ObjectAssociationEndMapping.cs
- HttpModulesSection.cs
- HtmlProps.cs
- AutomationPeer.cs
- AnnouncementInnerClientCD1.cs
- RtfControls.cs
- StyleSelector.cs
- ProviderUtil.cs
- SchemaTypeEmitter.cs
- FtpWebRequest.cs
- PointConverter.cs
- UrlMappingsModule.cs
- DefaultIfEmptyQueryOperator.cs
- WebPartEditVerb.cs
- RectAnimationUsingKeyFrames.cs
- PackageRelationship.cs
- LineServicesCallbacks.cs
- XmlSchemaObject.cs
- Line.cs
- AdapterUtil.cs
- xmlfixedPageInfo.cs
- ValuePattern.cs
- CatalogPart.cs
- XhtmlTextWriter.cs
- TextRangeSerialization.cs
- RouteCollection.cs
- ConnectionModeReader.cs
- Version.cs
- PieceDirectory.cs
- cookiecollection.cs
- InputScopeConverter.cs
- FacetChecker.cs
- CodeComment.cs
- PrinterSettings.cs
- Permission.cs
- VBCodeProvider.cs
- BindingElementCollection.cs
- OleDbRowUpdatingEvent.cs
- IisTraceListener.cs
- StringDictionaryCodeDomSerializer.cs
- RequestQueryParser.cs
- MultiPageTextView.cs
- CodeAccessPermission.cs
- Viewport3DAutomationPeer.cs
- IndexedGlyphRun.cs
- GridViewRow.cs
- DetailsViewPageEventArgs.cs
- Transform.cs
- CombinedGeometry.cs
- AudioBase.cs
- OrderedDictionary.cs
- EntityDesignerBuildProvider.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- WebResourceAttribute.cs
- TimeManager.cs
- FormClosingEvent.cs
- WebColorConverter.cs
- DynamicHyperLink.cs
- PropertyManager.cs
- EncodingInfo.cs
- Geometry3D.cs
- KeysConverter.cs
- ServiceDesigner.cs
- ClientScriptManager.cs
- CodeArrayIndexerExpression.cs
- AnonymousIdentificationSection.cs
- AssemblyNameEqualityComparer.cs
- Root.cs
- altserialization.cs
- RelationshipDetailsCollection.cs
- RelOps.cs
- MdImport.cs
- SizeAnimation.cs
- BitmapData.cs
- MetafileHeaderWmf.cs
- ContentTypeSettingDispatchMessageFormatter.cs