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
- DbConnectionPoolOptions.cs
- MasterPageParser.cs
- validation.cs
- WindowsTokenRoleProvider.cs
- ConsoleCancelEventArgs.cs
- selecteditemcollection.cs
- ResolveResponseInfo.cs
- HiddenFieldPageStatePersister.cs
- NameValueCollection.cs
- Vector3DAnimationBase.cs
- ConstraintStruct.cs
- SubMenuStyleCollectionEditor.cs
- CorrelationTokenInvalidatedHandler.cs
- Duration.cs
- EntityCommand.cs
- TemplateColumn.cs
- SqlCacheDependencySection.cs
- SynchronizationContext.cs
- XmlNodeComparer.cs
- PropVariant.cs
- ProtocolViolationException.cs
- ButtonField.cs
- AggregateException.cs
- XamlGridLengthSerializer.cs
- HttpProcessUtility.cs
- EdmItemCollection.cs
- PriorityItem.cs
- RegexMatch.cs
- JournalEntry.cs
- sqlser.cs
- MethodBuilderInstantiation.cs
- WebHttpSecurityElement.cs
- FixUpCollection.cs
- DCSafeHandle.cs
- PasswordDeriveBytes.cs
- PermissionRequestEvidence.cs
- EventMap.cs
- DelegateCompletionCallbackWrapper.cs
- DataSourceBooleanViewSchemaConverter.cs
- SuppressMessageAttribute.cs
- InfoCardTraceRecord.cs
- Cursors.cs
- ProxySimple.cs
- EnumType.cs
- TimeoutStream.cs
- ChildChangedEventArgs.cs
- NavigatingCancelEventArgs.cs
- LabelEditEvent.cs
- TreeViewHitTestInfo.cs
- XmlValueConverter.cs
- RectConverter.cs
- ZipIORawDataFileBlock.cs
- ChangePassword.cs
- PackWebRequestFactory.cs
- ClassicBorderDecorator.cs
- ClientScriptManager.cs
- OdbcParameter.cs
- EntityContainerEmitter.cs
- DataServices.cs
- MaskDescriptors.cs
- httpstaticobjectscollection.cs
- ObjectIDGenerator.cs
- PostBackTrigger.cs
- InvalidTimeZoneException.cs
- XslVisitor.cs
- DocumentXmlWriter.cs
- SizeAnimationClockResource.cs
- MediaScriptCommandRoutedEventArgs.cs
- TagNameToTypeMapper.cs
- StrokeCollection.cs
- ToolStripDropDownButton.cs
- Menu.cs
- StylusPointProperty.cs
- NamespaceQuery.cs
- RectKeyFrameCollection.cs
- PeerNearMe.cs
- ParentQuery.cs
- StringSource.cs
- TranslateTransform.cs
- StrokeCollectionDefaultValueFactory.cs
- DBParameter.cs
- ActivityTypeResolver.xaml.cs
- GenericsInstances.cs
- ClientCultureInfo.cs
- HttpServerChannel.cs
- AmbientValueAttribute.cs
- SendAgentStatusRequest.cs
- MarkupCompiler.cs
- StreamAsIStream.cs
- CodeVariableDeclarationStatement.cs
- oledbmetadatacollectionnames.cs
- HttpBrowserCapabilitiesWrapper.cs
- MD5.cs
- DataControlLinkButton.cs
- ImageSource.cs
- X509UI.cs
- TableAdapterManagerMethodGenerator.cs
- HttpResponseHeader.cs
- FullTextLine.cs
- MaskedTextProvider.cs