Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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; } } } }/// Gets or setes /// the text of the comment. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- StaticExtensionConverter.cs
- StandardBindingElement.cs
- CancelEventArgs.cs
- WeakReadOnlyCollection.cs
- XsdBuilder.cs
- BufferedStream.cs
- SqlOuterApplyReducer.cs
- Suspend.cs
- InstanceDataCollection.cs
- StylusPointPropertyUnit.cs
- FullTrustAssembliesSection.cs
- CurrentChangingEventManager.cs
- SolidBrush.cs
- WebEventTraceProvider.cs
- RegexRunnerFactory.cs
- ChangePassword.cs
- ContentHostHelper.cs
- DebugView.cs
- ToolStripStatusLabel.cs
- SessionSymmetricMessageSecurityProtocolFactory.cs
- DecimalConstantAttribute.cs
- ViewBox.cs
- DataMemberListEditor.cs
- HttpModuleCollection.cs
- EventWaitHandleSecurity.cs
- DataGridRowDetailsEventArgs.cs
- MailDefinition.cs
- UpdateEventArgs.cs
- ScriptHandlerFactory.cs
- TCPClient.cs
- XmlSchemaDocumentation.cs
- BindingNavigator.cs
- PropertyHelper.cs
- BooleanExpr.cs
- Utils.cs
- DbConnectionFactory.cs
- DotExpr.cs
- DBCommand.cs
- QueryStoreStatusRequest.cs
- ColumnReorderedEventArgs.cs
- WarningException.cs
- CompilerErrorCollection.cs
- XomlCompilerParameters.cs
- DataServiceRequestException.cs
- DataGridColumnDropSeparator.cs
- Serializer.cs
- DiscoveryMessageSequence11.cs
- WindowsContainer.cs
- NamespaceListProperty.cs
- TypeTypeConverter.cs
- AlternationConverter.cs
- OutArgument.cs
- SystemIPv4InterfaceProperties.cs
- XmlTextReader.cs
- TypeUsageBuilder.cs
- InfoCardTraceRecord.cs
- ToolBar.cs
- ChannelSinkStacks.cs
- basenumberconverter.cs
- IxmlLineInfo.cs
- XmlObjectSerializerWriteContext.cs
- Int32CollectionValueSerializer.cs
- GlobalProxySelection.cs
- LocalIdKeyIdentifierClause.cs
- SizeChangedInfo.cs
- NumberFunctions.cs
- SecureUICommand.cs
- PolicyLevel.cs
- FixedFindEngine.cs
- LinqToSqlWrapper.cs
- GradientBrush.cs
- SqlInternalConnectionTds.cs
- SHA512Managed.cs
- XmlSchemaComplexContentRestriction.cs
- ListViewDeleteEventArgs.cs
- FieldCollectionEditor.cs
- WebPartMenu.cs
- TransformConverter.cs
- TransformerInfoCollection.cs
- EmulateRecognizeCompletedEventArgs.cs
- MailMessageEventArgs.cs
- IdentityReference.cs
- RegexCompiler.cs
- SiteMapPath.cs
- StyleCollection.cs
- PanningMessageFilter.cs
- ThrowOnMultipleAssignment.cs
- ContextDataSource.cs
- _NestedMultipleAsyncResult.cs
- HostProtectionException.cs
- SchemaObjectWriter.cs
- AncillaryOps.cs
- HtmlTextArea.cs
- GACMembershipCondition.cs
- SqlConnectionString.cs
- RegistryConfigurationProvider.cs
- Debugger.cs
- DelegateTypeInfo.cs
- LayoutEvent.cs
- RSACryptoServiceProvider.cs