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
- Error.cs
- XamlTemplateSerializer.cs
- SpecularMaterial.cs
- odbcmetadatacolumnnames.cs
- Switch.cs
- TemplateParser.cs
- CultureTableRecord.cs
- PageMediaSize.cs
- SocketElement.cs
- NamedServiceModelExtensionCollectionElement.cs
- SqlDataSourceEnumerator.cs
- Mutex.cs
- DependencyObjectType.cs
- TypeToken.cs
- StrokeNodeOperations2.cs
- ProfilePropertySettings.cs
- Array.cs
- GPStream.cs
- _NegoState.cs
- RequiredFieldValidator.cs
- ResXResourceWriter.cs
- AxisAngleRotation3D.cs
- Splitter.cs
- SerializationHelper.cs
- TreeNode.cs
- NodeLabelEditEvent.cs
- SqlFormatter.cs
- SqlAggregateChecker.cs
- DesignerRegionMouseEventArgs.cs
- CodeTypeDelegate.cs
- ActionItem.cs
- ImageSourceConverter.cs
- BrowserInteropHelper.cs
- BuildProviderAppliesToAttribute.cs
- ElementNotAvailableException.cs
- XPathChildIterator.cs
- StringFormat.cs
- GeneratedView.cs
- ComponentResourceManager.cs
- ListView.cs
- ConfigDefinitionUpdates.cs
- OutputCacheProfile.cs
- ProgressChangedEventArgs.cs
- MimeTypeAttribute.cs
- ClientTargetCollection.cs
- FormClosingEvent.cs
- ResourceDictionaryCollection.cs
- UTF8Encoding.cs
- EventSourceCreationData.cs
- IntSecurity.cs
- ReadOnlyCollectionBase.cs
- CodeCompileUnit.cs
- ReturnType.cs
- AnnotationComponentChooser.cs
- NamespaceInfo.cs
- ModelProperty.cs
- _SSPIWrapper.cs
- StrongTypingException.cs
- InputLanguageCollection.cs
- CollectionsUtil.cs
- UnmanagedMemoryStream.cs
- ListDictionary.cs
- SHA1Cng.cs
- StylusCollection.cs
- XPathAncestorQuery.cs
- GridViewUpdatedEventArgs.cs
- TextEvent.cs
- XmlIlTypeHelper.cs
- WindowsRichEditRange.cs
- HMACMD5.cs
- InfoCardSymmetricAlgorithm.cs
- FileUpload.cs
- SettingsPropertyCollection.cs
- Tokenizer.cs
- RemoteWebConfigurationHostServer.cs
- BitmapEffectDrawingContextWalker.cs
- CommandDevice.cs
- SerializationFieldInfo.cs
- CompModSwitches.cs
- XpsFontSubsetter.cs
- ScrollChrome.cs
- FakeModelItemImpl.cs
- ProcessingInstructionAction.cs
- OdbcConnectionOpen.cs
- BinaryConverter.cs
- RoleGroup.cs
- entityreference_tresulttype.cs
- IDataContractSurrogate.cs
- ValidatedControlConverter.cs
- SystemIPInterfaceProperties.cs
- OledbConnectionStringbuilder.cs
- HtmlLink.cs
- PolyLineSegmentFigureLogic.cs
- WebBodyFormatMessageProperty.cs
- Errors.cs
- NamespaceList.cs
- DataControlButton.cs
- CodeDomDesignerLoader.cs
- Subtree.cs
- DecoderFallback.cs