Code:
/ FX-1434 / FX-1434 / 1.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
- ColorPalette.cs
- Utility.cs
- DataServiceKeyAttribute.cs
- BinHexDecoder.cs
- CharacterMetrics.cs
- CriticalExceptions.cs
- ContentControl.cs
- ArrayTypeMismatchException.cs
- securitycriticaldataClass.cs
- DateTime.cs
- Latin1Encoding.cs
- Wildcard.cs
- CfgArc.cs
- WorkflowViewElement.cs
- TTSEngineProxy.cs
- NamespaceQuery.cs
- Lazy.cs
- VirtualizingPanel.cs
- HashCodeCombiner.cs
- DashStyle.cs
- ProfileManager.cs
- WindowsPrincipal.cs
- UseManagedPresentationBindingElement.cs
- RegistrationServices.cs
- RelatedPropertyManager.cs
- CalendarDay.cs
- ProfileSettingsCollection.cs
- CommentEmitter.cs
- ItemChangedEventArgs.cs
- SqlAggregateChecker.cs
- WinEventWrap.cs
- ServicesUtilities.cs
- SessionPageStateSection.cs
- TextEvent.cs
- BamlTreeNode.cs
- FontWeight.cs
- RowToParametersTransformer.cs
- ConstraintCollection.cs
- ExclusiveNamedPipeTransportManager.cs
- SmtpMail.cs
- CloudCollection.cs
- BitmapEffect.cs
- SignedInfo.cs
- SQLBinaryStorage.cs
- GridItemCollection.cs
- StylusPointCollection.cs
- ValidatingCollection.cs
- printdlgexmarshaler.cs
- SQLGuid.cs
- ElementFactory.cs
- ComponentChangedEvent.cs
- Page.cs
- JsonFormatMapping.cs
- xdrvalidator.cs
- SimpleType.cs
- FrugalList.cs
- DesignerMetadata.cs
- ThreadStaticAttribute.cs
- ContentPosition.cs
- TypeSystem.cs
- TransactionFlowBindingElement.cs
- TabControl.cs
- SpoolingTask.cs
- CardSpacePolicyElement.cs
- RtfControls.cs
- StringHelper.cs
- RoutedEventValueSerializer.cs
- ProfilePropertyMetadata.cs
- ContextMenu.cs
- WebPartConnectionsConfigureVerb.cs
- PerformanceCounterManager.cs
- WebRequestModulesSection.cs
- TextEmbeddedObject.cs
- ColorTransformHelper.cs
- AdapterUtil.cs
- StructuralType.cs
- DLinqDataModelProvider.cs
- SequentialOutput.cs
- XmlEnumAttribute.cs
- ComponentDesigner.cs
- DbConnectionStringCommon.cs
- OdbcStatementHandle.cs
- ReturnEventArgs.cs
- ConnectivityStatus.cs
- MimeAnyImporter.cs
- WbemException.cs
- TypeUtil.cs
- FloaterBaseParaClient.cs
- Multiply.cs
- InputMethod.cs
- CodeDefaultValueExpression.cs
- sitestring.cs
- SqlBuilder.cs
- ToolStripContentPanel.cs
- ClientBuildManagerTypeDescriptionProviderBridge.cs
- ParagraphResult.cs
- Propagator.JoinPropagator.cs
- InvokeCompletedEventArgs.cs
- WsatConfiguration.cs
- Line.cs