Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- SolidColorBrush.cs
- BrowserDefinitionCollection.cs
- LambdaCompiler.Lambda.cs
- WmfPlaceableFileHeader.cs
- SQLGuidStorage.cs
- HuffModule.cs
- validationstate.cs
- RequestContext.cs
- MTConfigUtil.cs
- mediaeventargs.cs
- MenuItem.cs
- RootBrowserWindowAutomationPeer.cs
- ProgressBarBrushConverter.cs
- DesignerEventService.cs
- Environment.cs
- basenumberconverter.cs
- EmptyElement.cs
- ClientSideQueueItem.cs
- AppDomainProtocolHandler.cs
- DataGridViewLayoutData.cs
- FlowLayout.cs
- KnownBoxes.cs
- MultiView.cs
- DataGridViewCellStyleConverter.cs
- ValueUnavailableException.cs
- HtmlTitle.cs
- GridViewRow.cs
- SqlConnectionPoolProviderInfo.cs
- AsymmetricAlgorithm.cs
- TextSimpleMarkerProperties.cs
- SqlGatherProducedAliases.cs
- DelegateTypeInfo.cs
- QueryValue.cs
- DataListItemEventArgs.cs
- CollectionChangedEventManager.cs
- Menu.cs
- ConnectionManagementSection.cs
- XmlStreamStore.cs
- DataListItem.cs
- JumpTask.cs
- FormView.cs
- XmlAttributeAttribute.cs
- ReadOnlyDictionary.cs
- ParenthesizePropertyNameAttribute.cs
- PathParser.cs
- TemplateKeyConverter.cs
- LazyTextWriterCreator.cs
- GenericTypeParameterBuilder.cs
- EntityViewGenerationConstants.cs
- LayoutEngine.cs
- LoadRetryAsyncResult.cs
- FormsAuthentication.cs
- BindingOperations.cs
- TimeSpan.cs
- Menu.cs
- DataGridItemCollection.cs
- MembershipUser.cs
- EntityCodeGenerator.cs
- SpeechDetectedEventArgs.cs
- ButtonBaseAdapter.cs
- TreeWalkHelper.cs
- ExtensionFile.cs
- DataViewSetting.cs
- Vector3DCollection.cs
- ObjectListCommandsPage.cs
- TypedReference.cs
- User.cs
- GenericAuthenticationEventArgs.cs
- WhiteSpaceTrimStringConverter.cs
- Input.cs
- HttpListenerContext.cs
- EFAssociationProvider.cs
- XomlCompilerHelpers.cs
- BindStream.cs
- ListItemParagraph.cs
- GridSplitterAutomationPeer.cs
- TreeNode.cs
- FixUp.cs
- StatusBarPanelClickEvent.cs
- MaterializeFromAtom.cs
- TemplateKeyConverter.cs
- _DomainName.cs
- LockingPersistenceProvider.cs
- CommonDialog.cs
- GridViewSortEventArgs.cs
- FileLoadException.cs
- DriveInfo.cs
- SapiRecoInterop.cs
- WebPartEditVerb.cs
- FocusWithinProperty.cs
- MenuTracker.cs
- TextDecorationUnitValidation.cs
- ModuleElement.cs
- EventlogProvider.cs
- ComponentResourceManager.cs
- SafeMILHandleMemoryPressure.cs
- _Events.cs
- ResolveNameEventArgs.cs
- ResourceContainer.cs
- DocumentGridContextMenu.cs