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
- InternalDispatchObject.cs
- HealthMonitoringSection.cs
- ToolStripDropDownMenu.cs
- SocketElement.cs
- CodeExporter.cs
- SupportsEventValidationAttribute.cs
- JournalNavigationScope.cs
- VectorCollectionValueSerializer.cs
- InternalTypeHelper.cs
- ToolBar.cs
- DataGridBoundColumn.cs
- OrderedHashRepartitionEnumerator.cs
- sqlstateclientmanager.cs
- TextEditorSelection.cs
- ServiceModelSecurityTokenRequirement.cs
- RequestStatusBarUpdateEventArgs.cs
- MatrixTransform.cs
- PersonalizationStateInfoCollection.cs
- StringHandle.cs
- TextRangeProviderWrapper.cs
- Repeater.cs
- HtmlPanelAdapter.cs
- ChineseLunisolarCalendar.cs
- XPathParser.cs
- RangeValuePatternIdentifiers.cs
- RemoteX509AsymmetricSecurityKey.cs
- ActivationWorker.cs
- BinHexDecoder.cs
- ValidateNames.cs
- MissingFieldException.cs
- SoapEnumAttribute.cs
- DocumentXPathNavigator.cs
- IOException.cs
- ComponentResourceKey.cs
- MimeFormatExtensions.cs
- LayoutDump.cs
- HybridCollection.cs
- SqlDataAdapter.cs
- XsltArgumentList.cs
- UnsafeNativeMethods.cs
- ConfigUtil.cs
- NotSupportedException.cs
- OuterProxyWrapper.cs
- BindingObserver.cs
- FilteredXmlReader.cs
- XmlElementAttribute.cs
- InvalidCommandTreeException.cs
- ModelVisual3D.cs
- RectangleHotSpot.cs
- NetStream.cs
- EditorPart.cs
- ValidationPropertyAttribute.cs
- EventSetterHandlerConverter.cs
- SQLResource.cs
- SqlCommand.cs
- FileNotFoundException.cs
- SizeAnimationUsingKeyFrames.cs
- IntSecurity.cs
- PerspectiveCamera.cs
- CollectionChange.cs
- OdbcError.cs
- SR.cs
- PropertyHelper.cs
- ProvideValueServiceProvider.cs
- DrawingContextDrawingContextWalker.cs
- SqlConnectionFactory.cs
- SafeArrayTypeMismatchException.cs
- CodeSnippetStatement.cs
- TextContainerChangedEventArgs.cs
- DocumentViewerAutomationPeer.cs
- RegexStringValidatorAttribute.cs
- GeneralTransform.cs
- TextOnlyOutput.cs
- COAUTHINFO.cs
- Normalization.cs
- ChildrenQuery.cs
- DbCommandDefinition.cs
- Constants.cs
- Light.cs
- Trace.cs
- RowCache.cs
- GPRECT.cs
- ILGen.cs
- RowUpdatingEventArgs.cs
- TemplatedEditableDesignerRegion.cs
- DataGridViewMethods.cs
- oledbmetadatacollectionnames.cs
- ToolStripPanelSelectionBehavior.cs
- PropertyChangedEventManager.cs
- DocumentScope.cs
- AsymmetricSecurityBindingElement.cs
- EntityTransaction.cs
- ViewSimplifier.cs
- DataServiceQuery.cs
- GroupBox.cs
- ClrPerspective.cs
- PasswordRecovery.cs
- EntityContainer.cs
- StateBag.cs
- CellTreeNode.cs