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
- MetadataItem_Static.cs
- FontNamesConverter.cs
- SqlInternalConnection.cs
- Utils.cs
- _NegoStream.cs
- AuthenticatedStream.cs
- Lookup.cs
- UInt16Converter.cs
- BamlRecordReader.cs
- PersonalizationProviderHelper.cs
- BindingGroup.cs
- SmtpReplyReaderFactory.cs
- TableAutomationPeer.cs
- BindValidationContext.cs
- HWStack.cs
- SapiGrammar.cs
- BinaryObjectWriter.cs
- EnumerableCollectionView.cs
- MatrixIndependentAnimationStorage.cs
- ClickablePoint.cs
- PrtTicket_Base.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- XmlCDATASection.cs
- MasterPage.cs
- AppDomainUnloadedException.cs
- Internal.cs
- TableRowsCollectionEditor.cs
- StylusPointCollection.cs
- PropVariant.cs
- WebPartEditorCancelVerb.cs
- DbParameterCollectionHelper.cs
- SafePointer.cs
- ProgressBar.cs
- InvokePattern.cs
- WebPartConnectionsConnectVerb.cs
- ReferenceService.cs
- RectAnimation.cs
- HierarchicalDataSourceControl.cs
- DistributedTransactionPermission.cs
- AmbiguousMatchException.cs
- StrokeFIndices.cs
- HtmlInputButton.cs
- IEnumerable.cs
- GifBitmapDecoder.cs
- assertwrapper.cs
- ThaiBuddhistCalendar.cs
- UrlAuthFailureHandler.cs
- UpdateRecord.cs
- panel.cs
- CodeEventReferenceExpression.cs
- TableColumn.cs
- PermissionAttributes.cs
- IgnoreSectionHandler.cs
- COAUTHIDENTITY.cs
- AssemblyBuilderData.cs
- TemplateBindingExpression.cs
- SafeNativeMethodsMilCoreApi.cs
- uribuilder.cs
- ObjectPropertyMapping.cs
- XmlIgnoreAttribute.cs
- SafeMILHandle.cs
- PatternMatcher.cs
- SettingsPropertyValue.cs
- DataRelationPropertyDescriptor.cs
- XmlSchemaComplexContentRestriction.cs
- XsltQilFactory.cs
- Membership.cs
- SizeConverter.cs
- ParamArrayAttribute.cs
- TakeOrSkipWhileQueryOperator.cs
- updateconfighost.cs
- EmptyQuery.cs
- Quaternion.cs
- ExecutorLocksHeldException.cs
- ArrayList.cs
- Rect.cs
- RegexRunner.cs
- XmlEnumAttribute.cs
- DirectoryInfo.cs
- WebPartUtil.cs
- CodeDomLocalizationProvider.cs
- TabControlEvent.cs
- EntityConnectionStringBuilderItem.cs
- CheckedPointers.cs
- PaginationProgressEventArgs.cs
- CodeConstructor.cs
- CrossSiteScriptingValidation.cs
- ToolBarButtonClickEvent.cs
- VectorCollectionValueSerializer.cs
- SqlVisitor.cs
- PersonalizationProvider.cs
- MetadataUtilsSmi.cs
- Debug.cs
- IdnMapping.cs
- SoapFault.cs
- ByteKeyFrameCollection.cs
- FlowLayoutPanel.cs
- StateWorkerRequest.cs
- DefaultMemberAttribute.cs
- FilteredSchemaElementLookUpTable.cs