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
- ReferenceConverter.cs
- Events.cs
- FormattedTextSymbols.cs
- RecordBuilder.cs
- SurrogateDataContract.cs
- ReadWriteSpinLock.cs
- _SafeNetHandles.cs
- CachedFontFamily.cs
- OleServicesContext.cs
- DiscoveryExceptionDictionary.cs
- SoapElementAttribute.cs
- XmlParserContext.cs
- SessionParameter.cs
- SimpleExpression.cs
- SettingsPropertyNotFoundException.cs
- DeploymentExceptionMapper.cs
- AsyncDataRequest.cs
- WebReferencesBuildProvider.cs
- SoapHeaders.cs
- ItemMap.cs
- DbgCompiler.cs
- FrameworkPropertyMetadata.cs
- FontWeights.cs
- contentDescriptor.cs
- SourceFileBuildProvider.cs
- NativeCompoundFileAPIs.cs
- UIntPtr.cs
- NegationPusher.cs
- EntityTypeEmitter.cs
- DefaultAsyncDataDispatcher.cs
- FunctionDefinition.cs
- SubclassTypeValidatorAttribute.cs
- DiscoveryMessageProperty.cs
- SqlParameter.cs
- PropertyDescriptorComparer.cs
- RotateTransform.cs
- ItemList.cs
- FontFaceLayoutInfo.cs
- ImageDesigner.cs
- MasterPage.cs
- XDeferredAxisSource.cs
- XmlCharCheckingWriter.cs
- NetSectionGroup.cs
- LinqDataSourceDisposeEventArgs.cs
- BuildProviderAppliesToAttribute.cs
- XmlElement.cs
- UriTemplateDispatchFormatter.cs
- Trigger.cs
- Bezier.cs
- SessionPageStatePersister.cs
- Item.cs
- CodeMethodInvokeExpression.cs
- GenericEnumConverter.cs
- DataStreamFromComStream.cs
- ApplicationTrust.cs
- SqlTypesSchemaImporter.cs
- EdmComplexTypeAttribute.cs
- CompositeActivityValidator.cs
- SmtpReplyReader.cs
- HttpGetProtocolImporter.cs
- BuiltInExpr.cs
- SqlErrorCollection.cs
- RowVisual.cs
- WebPartCancelEventArgs.cs
- TrackingRecord.cs
- IsolatedStorageFileStream.cs
- Emitter.cs
- BufferedGraphicsManager.cs
- LoginName.cs
- HandlerWithFactory.cs
- OpenTypeLayout.cs
- UpdateProgress.cs
- ControlAdapter.cs
- KnownBoxes.cs
- Selection.cs
- EventLogPermission.cs
- GridViewDeleteEventArgs.cs
- EditorPartChrome.cs
- DescendantOverDescendantQuery.cs
- Base64Decoder.cs
- MethodToken.cs
- ScriptResourceHandler.cs
- PropertyMetadata.cs
- DBConnection.cs
- ClientBuildManagerCallback.cs
- UpdateProgress.cs
- DataContractJsonSerializerOperationFormatter.cs
- TypedDataSetSchemaImporterExtensionFx35.cs
- ListViewContainer.cs
- _HeaderInfo.cs
- AcceleratedTokenProvider.cs
- DataGridCaption.cs
- StructuredCompositeActivityDesigner.cs
- QuaternionAnimationBase.cs
- QuaternionValueSerializer.cs
- CompilerTypeWithParams.cs
- PointConverter.cs
- SystemNetworkInterface.cs
- ToolStripDropDownClosedEventArgs.cs
- RelatedCurrencyManager.cs