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
- WindowsScrollBarBits.cs
- HostUtils.cs
- MultipartIdentifier.cs
- EqualityComparer.cs
- ApplicationHost.cs
- ActivationArguments.cs
- SafeTimerHandle.cs
- ComboBox.cs
- WebPartMenu.cs
- HierarchicalDataBoundControlAdapter.cs
- DataStorage.cs
- QueryGeneratorBase.cs
- OAVariantLib.cs
- UnaryOperationBinder.cs
- QilName.cs
- BaseComponentEditor.cs
- ResourcesChangeInfo.cs
- AdapterUtil.cs
- TextServicesCompartmentEventSink.cs
- As.cs
- RelatedCurrencyManager.cs
- RijndaelManaged.cs
- RadioButtonBaseAdapter.cs
- AdCreatedEventArgs.cs
- BuiltInExpr.cs
- KeyPressEvent.cs
- Int32Storage.cs
- MgmtConfigurationRecord.cs
- ConfigurationManagerInternalFactory.cs
- MoveSizeWinEventHandler.cs
- regiisutil.cs
- StdValidatorsAndConverters.cs
- LinkUtilities.cs
- Point.cs
- JsonXmlDataContract.cs
- HandlerWithFactory.cs
- EntryIndex.cs
- QilChoice.cs
- BaseDataList.cs
- FilterEventArgs.cs
- SelectionEditingBehavior.cs
- _Connection.cs
- PhysicalOps.cs
- QueryContinueDragEvent.cs
- FeatureManager.cs
- RtfToXamlLexer.cs
- TdsParserSafeHandles.cs
- _FixedSizeReader.cs
- StateWorkerRequest.cs
- Choices.cs
- TypedElement.cs
- PlaceHolder.cs
- Console.cs
- Cell.cs
- WmfPlaceableFileHeader.cs
- Operand.cs
- ReadOnlyDataSourceView.cs
- FrameworkName.cs
- WindowsEditBoxRange.cs
- RadioButton.cs
- ADRoleFactory.cs
- Compiler.cs
- TextContainerHelper.cs
- CellIdBoolean.cs
- ZipIOLocalFileDataDescriptor.cs
- _IPv4Address.cs
- EmptyTextWriter.cs
- RuntimeConfigLKG.cs
- __Filters.cs
- DesignerActionVerbList.cs
- ToolStripSplitButton.cs
- ImageAnimator.cs
- Validator.cs
- DispatcherOperation.cs
- Profiler.cs
- NativeMsmqMessage.cs
- Function.cs
- GatewayIPAddressInformationCollection.cs
- PageParser.cs
- ToolStripScrollButton.cs
- SmtpLoginAuthenticationModule.cs
- LocalizationComments.cs
- MappingSource.cs
- DataGridViewSelectedCellCollection.cs
- FormatStringEditor.cs
- DataSourceControlBuilder.cs
- Debug.cs
- FixedDSBuilder.cs
- PasswordRecovery.cs
- URLBuilder.cs
- FixedTextView.cs
- XmlObjectSerializerReadContextComplexJson.cs
- WorkflowDesignerMessageFilter.cs
- MimePart.cs
- ApplicationBuildProvider.cs
- TemplateBamlTreeBuilder.cs
- TraceSection.cs
- BoolExpressionVisitors.cs
- UrlMappingsModule.cs
- CodePageUtils.cs