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
- ProxyWebPartManager.cs
- SqlLiftWhereClauses.cs
- Unit.cs
- XmlnsDictionary.cs
- WorkflowMarkupSerializationProvider.cs
- WebInvokeAttribute.cs
- UserPreferenceChangingEventArgs.cs
- SimpleLine.cs
- DataSourceXmlElementAttribute.cs
- _FtpDataStream.cs
- SmiEventSink.cs
- ILGenerator.cs
- MSG.cs
- XmlBinaryReader.cs
- UriSection.cs
- WebPartVerbCollection.cs
- DataGridViewCellCancelEventArgs.cs
- StdValidatorsAndConverters.cs
- WindowsGraphics2.cs
- ParamArrayAttribute.cs
- SpellerInterop.cs
- SoapHeaderAttribute.cs
- CollectionBuilder.cs
- CompatibleComparer.cs
- DataGrid.cs
- InheritanceUI.cs
- HashCodeCombiner.cs
- TypeElement.cs
- MissingManifestResourceException.cs
- Tokenizer.cs
- SqlTypesSchemaImporter.cs
- MediaElement.cs
- CleanUpVirtualizedItemEventArgs.cs
- IdentityReference.cs
- _Win32.cs
- UserPreferenceChangingEventArgs.cs
- Knowncolors.cs
- BridgeDataReader.cs
- Preprocessor.cs
- ParseChildrenAsPropertiesAttribute.cs
- WinFormsUtils.cs
- CodeStatement.cs
- MinimizableAttributeTypeConverter.cs
- NamedPipeChannelFactory.cs
- InvokeProviderWrapper.cs
- DataRelation.cs
- DataGridViewRowsAddedEventArgs.cs
- EmptyStringExpandableObjectConverter.cs
- DescendentsWalkerBase.cs
- DelegateArgumentReference.cs
- UpdateRecord.cs
- DataReceivedEventArgs.cs
- PointCollectionValueSerializer.cs
- BasicDesignerLoader.cs
- BrowserTree.cs
- SamlSecurityTokenAuthenticator.cs
- EncodingTable.cs
- PlainXmlDeserializer.cs
- ExpressionBindings.cs
- PropagatorResult.cs
- DigestTraceRecordHelper.cs
- TraceLog.cs
- ValidationResult.cs
- ComIntegrationManifestGenerator.cs
- ClientFormsAuthenticationMembershipProvider.cs
- AnnotationAuthorChangedEventArgs.cs
- WebServiceEndpoint.cs
- CodeLinePragma.cs
- IPEndPointCollection.cs
- LoginCancelEventArgs.cs
- CodeDelegateInvokeExpression.cs
- SharedPersonalizationStateInfo.cs
- Message.cs
- EntityClassGenerator.cs
- ViewStateModeByIdAttribute.cs
- MethodBuilderInstantiation.cs
- ProcessStartInfo.cs
- SqlDataSourceCache.cs
- AmbientValueAttribute.cs
- QuaternionConverter.cs
- FontUnitConverter.cs
- TextEditor.cs
- EditingCommands.cs
- ImageSourceConverter.cs
- Font.cs
- ContextMenu.cs
- __Error.cs
- ZeroOpNode.cs
- DBBindings.cs
- HtmlInputButton.cs
- SetterTriggerConditionValueConverter.cs
- TextFormatterContext.cs
- SequenceNumber.cs
- EntityStoreSchemaFilterEntry.cs
- FormsIdentity.cs
- StrokeCollectionDefaultValueFactory.cs
- PassportIdentity.cs
- XslTransform.cs
- RuntimeHandles.cs
- XmlSerializationGeneratedCode.cs