Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- NullableDoubleMinMaxAggregationOperator.cs
- NullToBooleanConverter.cs
- TagPrefixInfo.cs
- SafeArrayTypeMismatchException.cs
- LayoutUtils.cs
- MSAAEventDispatcher.cs
- QueryPrefixOp.cs
- ObjectContext.cs
- Translator.cs
- ICspAsymmetricAlgorithm.cs
- EnumMember.cs
- HttpHandlerActionCollection.cs
- PropVariant.cs
- SQLConvert.cs
- ConstructorBuilder.cs
- Condition.cs
- SupportsPreviewControlAttribute.cs
- DbDataRecord.cs
- Margins.cs
- SafeCryptContextHandle.cs
- ConnectionConsumerAttribute.cs
- TableRowCollection.cs
- DrawingContextDrawingContextWalker.cs
- XdrBuilder.cs
- KnownTypes.cs
- TranslateTransform.cs
- DateTimeOffsetStorage.cs
- DefaultTraceListener.cs
- FullTextBreakpoint.cs
- SqlDataSourceSelectingEventArgs.cs
- BitFlagsGenerator.cs
- SoapCodeExporter.cs
- HotCommands.cs
- ProtocolInformationReader.cs
- Matrix.cs
- StringSource.cs
- IntSecurity.cs
- RSAPKCS1SignatureDeformatter.cs
- HtmlListAdapter.cs
- BitmapEffectInputData.cs
- recordstate.cs
- TransformerInfo.cs
- HWStack.cs
- NonNullItemCollection.cs
- ValueQuery.cs
- VisualStyleRenderer.cs
- SingleStorage.cs
- RootBrowserWindow.cs
- DataRowCollection.cs
- AccessorTable.cs
- DataBindingCollectionEditor.cs
- XmlNodeComparer.cs
- StatusBarPanel.cs
- ThemeableAttribute.cs
- ListViewItemSelectionChangedEvent.cs
- XmlSchemaSimpleTypeUnion.cs
- TagPrefixCollection.cs
- TreeNodeBindingDepthConverter.cs
- DataGridHeaderBorder.cs
- HTTPNotFoundHandler.cs
- RoutedCommand.cs
- WebConfigurationFileMap.cs
- TextDecorationCollection.cs
- XmlHierarchyData.cs
- StrokeNodeOperations.cs
- UnsafeNativeMethods.cs
- EntityDataSourceEntityTypeFilterItem.cs
- HeaderUtility.cs
- WindowsPrincipal.cs
- TileModeValidation.cs
- COM2PictureConverter.cs
- Clock.cs
- MediaPlayer.cs
- XmlWriterDelegator.cs
- FormsAuthenticationEventArgs.cs
- MultiTrigger.cs
- CompositeScriptReferenceEventArgs.cs
- TempEnvironment.cs
- unitconverter.cs
- AnchoredBlock.cs
- Schema.cs
- HandleValueEditor.cs
- SelectedGridItemChangedEvent.cs
- GridItem.cs
- SamlSecurityToken.cs
- TabControlCancelEvent.cs
- GlyphRun.cs
- GroupQuery.cs
- ExtendedPropertyInfo.cs
- Int16Animation.cs
- WebEvents.cs
- SystemResources.cs
- WebConfigurationManager.cs
- SerializerWriterEventHandlers.cs
- ExportFileRequest.cs
- ObfuscationAttribute.cs
- PropertyDescriptorComparer.cs
- PropertiesTab.cs
- XmlSchemaProviderAttribute.cs
- Main.cs