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
- SqlNamer.cs
- DtdParser.cs
- BitmapEffect.cs
- StatementContext.cs
- ArrayConverter.cs
- RSAOAEPKeyExchangeDeformatter.cs
- StrokeIntersection.cs
- Decimal.cs
- XmlMemberMapping.cs
- DetailsViewCommandEventArgs.cs
- CompiledQuery.cs
- ViewGenerator.cs
- BuilderInfo.cs
- InternalDispatchObject.cs
- MatrixCamera.cs
- NullableBoolConverter.cs
- DataGridViewCellCancelEventArgs.cs
- StrongName.cs
- CheckBoxList.cs
- InkPresenter.cs
- AnnouncementEndpointElement.cs
- UDPClient.cs
- cookieexception.cs
- MultiView.cs
- CopyEncoder.cs
- KeyValueSerializer.cs
- MobileFormsAuthentication.cs
- XmlDictionaryReader.cs
- Object.cs
- InstanceDataCollection.cs
- ContractUtils.cs
- WindowsFormsSectionHandler.cs
- EmissiveMaterial.cs
- XmlILConstructAnalyzer.cs
- HtmlSelect.cs
- ClientApiGenerator.cs
- HwndKeyboardInputProvider.cs
- SerializableAttribute.cs
- XmlSerializer.cs
- ConfigsHelper.cs
- GcHandle.cs
- Rect3DValueSerializer.cs
- EntityKeyElement.cs
- StoreContentChangedEventArgs.cs
- VariantWrapper.cs
- Image.cs
- SqlClientPermission.cs
- OrderByExpression.cs
- RotateTransform3D.cs
- AtomPub10ServiceDocumentFormatter.cs
- DataGridViewRowStateChangedEventArgs.cs
- TextRunTypographyProperties.cs
- ToolStripItemCollection.cs
- TextEffectCollection.cs
- DataObjectMethodAttribute.cs
- DependencyPropertyConverter.cs
- XmlText.cs
- HyperLinkField.cs
- GlobalProxySelection.cs
- mda.cs
- CommandDesigner.cs
- SqlBinder.cs
- PersonalizationState.cs
- HashSetEqualityComparer.cs
- XmlExtensionFunction.cs
- Directory.cs
- RegisteredDisposeScript.cs
- FlowDocumentView.cs
- PropertyGridCommands.cs
- SchemaElementLookUpTableEnumerator.cs
- ConsumerConnectionPointCollection.cs
- CodeAttributeArgumentCollection.cs
- OrderedParallelQuery.cs
- DataGridViewCellParsingEventArgs.cs
- GridSplitter.cs
- UTF8Encoding.cs
- OracleConnection.cs
- MenuItemBindingCollection.cs
- DeflateEmulationStream.cs
- EventListenerClientSide.cs
- VisualBasicDesignerHelper.cs
- ColorBuilder.cs
- DecimalAnimation.cs
- JapaneseCalendar.cs
- WmlSelectionListAdapter.cs
- DataGridViewSelectedColumnCollection.cs
- WebErrorHandler.cs
- MetadataItemEmitter.cs
- Boolean.cs
- SignatureDescription.cs
- AndCondition.cs
- SqlDataSourceCache.cs
- Activator.cs
- WeakEventManager.cs
- XmlElementAttributes.cs
- AxWrapperGen.cs
- OpenFileDialog.cs
- DockPanel.cs
- RSAPKCS1KeyExchangeFormatter.cs
- DateTimeOffset.cs