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
- PersonalizableAttribute.cs
- ViewGenerator.cs
- PointCollection.cs
- MemoryStream.cs
- ColorConvertedBitmapExtension.cs
- XpsDocument.cs
- QilReference.cs
- LassoSelectionBehavior.cs
- IERequestCache.cs
- BaseTemplateParser.cs
- ObjectDataSourceStatusEventArgs.cs
- DataBindingList.cs
- DesignTimeTemplateParser.cs
- IntegerCollectionEditor.cs
- OdbcCommandBuilder.cs
- WindowsFormsHostPropertyMap.cs
- SapiInterop.cs
- InitializerFacet.cs
- ColumnResizeAdorner.cs
- NativeRecognizer.cs
- Column.cs
- PersonalizationProvider.cs
- CommandField.cs
- WindowsScrollBarBits.cs
- LinearQuaternionKeyFrame.cs
- WebPartRestoreVerb.cs
- DataControlButton.cs
- CapabilitiesState.cs
- ProcessModelInfo.cs
- SelectionChangedEventArgs.cs
- LineInfo.cs
- SqlParameterizer.cs
- IRCollection.cs
- SchemaComplexType.cs
- FontStyleConverter.cs
- TimeSpan.cs
- SecUtil.cs
- HttpValueCollection.cs
- RegionIterator.cs
- DataGridItemCollection.cs
- TimeStampChecker.cs
- ClrProviderManifest.cs
- TransformerInfoCollection.cs
- PathData.cs
- EdmComplexTypeAttribute.cs
- BuildManagerHost.cs
- MimeWriter.cs
- HostingEnvironment.cs
- NameService.cs
- XmlBoundElement.cs
- MonthChangedEventArgs.cs
- PropertyInfoSet.cs
- UDPClient.cs
- ObjectViewEntityCollectionData.cs
- Stroke.cs
- WorkerRequest.cs
- Point3DIndependentAnimationStorage.cs
- ToolStripTextBox.cs
- TextParaClient.cs
- XmlSchemaInfo.cs
- TableRow.cs
- DependencyPropertyDescriptor.cs
- RadioButtonList.cs
- WebSysDescriptionAttribute.cs
- ErrorHandler.cs
- Quaternion.cs
- BuildProviderAppliesToAttribute.cs
- _SslSessionsCache.cs
- CodeIterationStatement.cs
- EventProvider.cs
- ArgumentException.cs
- VarRemapper.cs
- VariantWrapper.cs
- ScriptResourceMapping.cs
- UpdateTranslator.cs
- IUnknownConstantAttribute.cs
- SqlLiftWhereClauses.cs
- FunctionDetailsReader.cs
- CompositeActivityMarkupSerializer.cs
- SqlCacheDependencySection.cs
- ConsumerConnectionPointCollection.cs
- OleDbPropertySetGuid.cs
- ValueTable.cs
- SerializationBinder.cs
- XamlPathDataSerializer.cs
- TransactionProtocolConverter.cs
- FocusChangedEventArgs.cs
- TextAnchor.cs
- DocumentSchemaValidator.cs
- FreezableCollection.cs
- ExpandCollapseProviderWrapper.cs
- DXD.cs
- CharConverter.cs
- EntityParameterCollection.cs
- SemanticBasicElement.cs
- BoundingRectTracker.cs
- InvalidCastException.cs
- UserMapPath.cs
- ScopelessEnumAttribute.cs
- CodeTryCatchFinallyStatement.cs