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
- BaseConfigurationRecord.cs
- FrameworkReadOnlyPropertyMetadata.cs
- CompiledXpathExpr.cs
- BeginEvent.cs
- XMLDiffLoader.cs
- ProxyWebPart.cs
- ImageAttributes.cs
- GeometryModel3D.cs
- QuaternionRotation3D.cs
- TemplateFactory.cs
- SpotLight.cs
- FileSystemWatcher.cs
- ElementMarkupObject.cs
- HTTP_SERVICE_CONFIG_URLACL_KEY.cs
- WebContext.cs
- DbgCompiler.cs
- VirtualPath.cs
- CheckoutException.cs
- KeyFrames.cs
- XMLSyntaxException.cs
- SqlConnectionString.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- DataSourceCache.cs
- InvokePattern.cs
- WindowsListViewSubItem.cs
- ItemsControlAutomationPeer.cs
- Int64AnimationBase.cs
- HtmlInputText.cs
- HwndSourceKeyboardInputSite.cs
- StringHelper.cs
- XmlSchemaInferenceException.cs
- TransactionScopeDesigner.cs
- ObjectQueryExecutionPlan.cs
- DataGridViewCellConverter.cs
- SapiRecoInterop.cs
- XmlCharCheckingWriter.cs
- DecimalAnimationBase.cs
- BufferedOutputStream.cs
- DataGridCell.cs
- XmlMembersMapping.cs
- DbDataReader.cs
- ToolBarButton.cs
- ToolStripDesignerAvailabilityAttribute.cs
- AssertUtility.cs
- MarkupExtensionReturnTypeAttribute.cs
- XhtmlBasicCommandAdapter.cs
- CapiSymmetricAlgorithm.cs
- CompositionAdorner.cs
- ErrorRuntimeConfig.cs
- XmlSchemaAppInfo.cs
- SiteMapProvider.cs
- FontFamilyValueSerializer.cs
- DnsEndpointIdentity.cs
- RawUIStateInputReport.cs
- DataGridViewBand.cs
- SourceFilter.cs
- InvalidOleVariantTypeException.cs
- CustomValidator.cs
- ConfigXmlText.cs
- ValidationHelper.cs
- DataGridColumn.cs
- RowVisual.cs
- QueryOutputWriter.cs
- _KerberosClient.cs
- sqlinternaltransaction.cs
- XsdCachingReader.cs
- AppDomainResourcePerfCounters.cs
- X509Utils.cs
- ColorTransformHelper.cs
- EntityDataSourceWizardForm.cs
- Event.cs
- DefaultHttpHandler.cs
- TaskFormBase.cs
- WebExceptionStatus.cs
- Point3DValueSerializer.cs
- XmlQualifiedName.cs
- ObjectStateFormatter.cs
- GridViewRow.cs
- SingleObjectCollection.cs
- DetailsView.cs
- InfoCardProofToken.cs
- XmlILAnnotation.cs
- InfocardExtendedInformationEntry.cs
- XpsThumbnail.cs
- ConnectionStringSettings.cs
- SettingsBindableAttribute.cs
- ActivityWithResultWrapper.cs
- FontSource.cs
- CreateUserWizard.cs
- DataTrigger.cs
- DataBoundControlHelper.cs
- StandardRuntimeEnumValidator.cs
- KeyPressEvent.cs
- TraceUtility.cs
- DecimalKeyFrameCollection.cs
- WebRequestModuleElementCollection.cs
- TableRow.cs
- FixedSOMElement.cs
- ObjectHelper.cs
- CurrencyWrapper.cs