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
- XmlSchemaSimpleTypeUnion.cs
- AttributeConverter.cs
- SqlTrackingWorkflowInstance.cs
- Separator.cs
- SchemaDeclBase.cs
- XmlSchemaImport.cs
- SqlMetaData.cs
- DoWorkEventArgs.cs
- ToggleProviderWrapper.cs
- BitmapEffectGroup.cs
- SaveWorkflowAsyncResult.cs
- XmlUtf8RawTextWriter.cs
- TablePattern.cs
- RadioButton.cs
- RSAPKCS1KeyExchangeFormatter.cs
- AsymmetricSecurityProtocol.cs
- counter.cs
- RSAPKCS1SignatureDeformatter.cs
- TypedDataSourceCodeGenerator.cs
- storepermission.cs
- CompilerGeneratedAttribute.cs
- DataControlButton.cs
- AppSettingsReader.cs
- HostVisual.cs
- ActivationServices.cs
- AppSettingsExpressionBuilder.cs
- ObjectTag.cs
- CompositeDesignerAccessibleObject.cs
- QilGeneratorEnv.cs
- InstanceNotFoundException.cs
- Logging.cs
- EventMappingSettingsCollection.cs
- WebBrowserHelper.cs
- KnownTypesHelper.cs
- TemplateInstanceAttribute.cs
- WorkflowRuntimeSection.cs
- XmlCDATASection.cs
- ProviderCollection.cs
- Speller.cs
- AsyncPostBackErrorEventArgs.cs
- SettingsPropertyValueCollection.cs
- CacheModeConverter.cs
- Trustee.cs
- RedirectionProxy.cs
- PageCache.cs
- DataControlFieldCell.cs
- TreeNodeConverter.cs
- EventlogProvider.cs
- ViewSimplifier.cs
- Int32Collection.cs
- UncommonField.cs
- WebExceptionStatus.cs
- Int32RectValueSerializer.cs
- TreeView.cs
- JournalNavigationScope.cs
- ExpressionBuilderContext.cs
- DataTableMappingCollection.cs
- PageBuildProvider.cs
- WebPartZoneCollection.cs
- StorageRoot.cs
- EmissiveMaterial.cs
- PerspectiveCamera.cs
- ListViewCancelEventArgs.cs
- HttpRequestCacheValidator.cs
- DbMetaDataCollectionNames.cs
- JsonDataContract.cs
- ServiceDurableInstanceContextProvider.cs
- ScaleTransform3D.cs
- StructuralCache.cs
- ZipIOExtraField.cs
- Claim.cs
- SmtpReplyReader.cs
- ErrorTableItemStyle.cs
- SecurityTokenContainer.cs
- ServicePointManagerElement.cs
- CancellationScope.cs
- JoinCqlBlock.cs
- TextTreeUndoUnit.cs
- DtrList.cs
- _ListenerRequestStream.cs
- BlurEffect.cs
- UserNamePasswordValidator.cs
- HtmlUtf8RawTextWriter.cs
- ImpersonateTokenRef.cs
- StaticResourceExtension.cs
- OptimizedTemplateContent.cs
- ServiceProviders.cs
- CodeIdentifiers.cs
- PenThread.cs
- WhereQueryOperator.cs
- ComboBox.cs
- ModelVisual3D.cs
- NullableLongAverageAggregationOperator.cs
- TableAutomationPeer.cs
- EmptyArray.cs
- FontUnit.cs
- GridViewUpdatedEventArgs.cs
- FilteredDataSetHelper.cs
- AsyncPostBackTrigger.cs
- QilScopedVisitor.cs