Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- WebRequestModuleElement.cs
- ZipIOBlockManager.cs
- MaxValueConverter.cs
- ListViewItemMouseHoverEvent.cs
- Latin1Encoding.cs
- SmiTypedGetterSetter.cs
- Visual3D.cs
- ToolStripAdornerWindowService.cs
- BindingOperations.cs
- WebPartUtil.cs
- KnownBoxes.cs
- DecimalConverter.cs
- TextReader.cs
- Point3DValueSerializer.cs
- DetailsViewUpdateEventArgs.cs
- WCFModelStrings.Designer.cs
- ProgressBarHighlightConverter.cs
- ConfigXmlText.cs
- DbTransaction.cs
- RegistryPermission.cs
- DBSqlParserColumnCollection.cs
- X509CertificateEndpointIdentity.cs
- SqlHelper.cs
- BufferedOutputAsyncStream.cs
- XpsFilter.cs
- DnsEndpointIdentity.cs
- DataTransferEventArgs.cs
- MemberInfoSerializationHolder.cs
- ObjectSet.cs
- WSDualHttpBinding.cs
- Single.cs
- QueryOpcode.cs
- XmlEncodedRawTextWriter.cs
- FontFamily.cs
- RawUIStateInputReport.cs
- ResolveNameEventArgs.cs
- OutputWindow.cs
- XmlReaderSettings.cs
- XmlTypeAttribute.cs
- DocumentReference.cs
- Interfaces.cs
- GridSplitterAutomationPeer.cs
- DataGridViewCellCollection.cs
- AuthorizationRule.cs
- RoleManagerSection.cs
- WebPartsSection.cs
- InstancePersistenceEvent.cs
- XPathCompileException.cs
- SparseMemoryStream.cs
- String.cs
- ToolStripTextBox.cs
- UnsafeNativeMethods.cs
- ForwardPositionQuery.cs
- BoundPropertyEntry.cs
- AstTree.cs
- CommonGetThemePartSize.cs
- Brush.cs
- DurableServiceAttribute.cs
- FixUpCollection.cs
- DEREncoding.cs
- CodeStatementCollection.cs
- NegotiateStream.cs
- ConfigPathUtility.cs
- PropertyDescriptorComparer.cs
- AttachedPropertiesService.cs
- ForEachAction.cs
- DropDownButton.cs
- GreaterThan.cs
- ExeContext.cs
- XPathQueryGenerator.cs
- DeobfuscatingStream.cs
- SQLResource.cs
- MessageAction.cs
- Faults.cs
- TextPenaltyModule.cs
- BaseParaClient.cs
- ParameterBinding.cs
- NonSerializedAttribute.cs
- RectangleF.cs
- Trigger.cs
- UnsafeNativeMethods.cs
- CompatibleComparer.cs
- MenuBindingsEditorForm.cs
- DataGridCaption.cs
- BindingCompleteEventArgs.cs
- QuaternionKeyFrameCollection.cs
- ConstraintConverter.cs
- SafeCancelMibChangeNotify.cs
- SrgsGrammarCompiler.cs
- DrawListViewItemEventArgs.cs
- IdentityValidationException.cs
- InstanceDataCollection.cs
- SocketInformation.cs
- ColumnMapVisitor.cs
- ZipIOExtraFieldZip64Element.cs
- SubMenuStyle.cs
- TabControl.cs
- WebPartManagerInternals.cs
- SelectionList.cs
- LineSegment.cs