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
- IList.cs
- TTSEngineTypes.cs
- ColorConverter.cs
- TemplateAction.cs
- ObjectViewQueryResultData.cs
- FigureParaClient.cs
- MarshalByValueComponent.cs
- ApplicationContext.cs
- PeerNameResolver.cs
- ControlCachePolicy.cs
- SiteMap.cs
- DataRecordObjectView.cs
- BackgroundWorker.cs
- WindowsSysHeader.cs
- CodeAssignStatement.cs
- Transactions.cs
- LiteralControl.cs
- ViewEventArgs.cs
- CellRelation.cs
- HttpStreamXmlDictionaryWriter.cs
- Context.cs
- Char.cs
- XmlSerializerNamespaces.cs
- NameValueConfigurationCollection.cs
- MessageDecoder.cs
- FormsAuthenticationCredentials.cs
- ComplusTypeValidator.cs
- Panel.cs
- FileDocument.cs
- EFColumnProvider.cs
- GridViewActionList.cs
- ByteAnimationBase.cs
- HttpVersion.cs
- AmbiguousMatchException.cs
- DispatchWrapper.cs
- SmiMetaDataProperty.cs
- GC.cs
- InvalidOperationException.cs
- StringFreezingAttribute.cs
- XmlSchemaSimpleTypeUnion.cs
- InputMethodStateTypeInfo.cs
- ExpressionVisitor.cs
- StylusOverProperty.cs
- _TransmitFileOverlappedAsyncResult.cs
- PenLineJoinValidation.cs
- TextAdaptor.cs
- MultiTrigger.cs
- DbgCompiler.cs
- Timer.cs
- InvalidChannelBindingException.cs
- HWStack.cs
- SpellCheck.cs
- Typography.cs
- HttpServerVarsCollection.cs
- FeatureManager.cs
- FormatterConverter.cs
- DataGridAutomationPeer.cs
- RightsManagementPermission.cs
- MultiByteCodec.cs
- XmlSchemaRedefine.cs
- XmlSchemaComplexType.cs
- InputScope.cs
- PropagatorResult.cs
- ElementMarkupObject.cs
- NullableDoubleSumAggregationOperator.cs
- MetadataWorkspace.cs
- Grid.cs
- DataSourceCache.cs
- DataKeyArray.cs
- StringPropertyBuilder.cs
- FocusManager.cs
- ManagementObjectCollection.cs
- MsmqTransportElement.cs
- SpellerError.cs
- EnumerableRowCollectionExtensions.cs
- ProxyManager.cs
- BitmapImage.cs
- PageVisual.cs
- ForAllOperator.cs
- KnownBoxes.cs
- HTMLTextWriter.cs
- QuestionEventArgs.cs
- AmbientLight.cs
- ValidationResult.cs
- HtmlInputCheckBox.cs
- GZipStream.cs
- InputBuffer.cs
- ISFTagAndGuidCache.cs
- DataStreamFromComStream.cs
- DocumentViewerAutomationPeer.cs
- PersonalizationProviderCollection.cs
- _OSSOCK.cs
- mediapermission.cs
- oledbmetadatacolumnnames.cs
- WebScriptServiceHostFactory.cs
- WebSysDisplayNameAttribute.cs
- BuildProvider.cs
- ToolStripItemTextRenderEventArgs.cs
- FieldDescriptor.cs
- StandardToolWindows.cs