Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / Monitoring / system / Diagnosticts / MonitoringDescriptionAttribute.cs / 1305376 / MonitoringDescriptionAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Diagnostics { using System; using System.ComponentModel; ////// DescriptionAttribute marks a property, event, or extender with a /// description. Visual designers can display this description when referencing /// the member. /// [AttributeUsage(AttributeTargets.All)] public class MonitoringDescriptionAttribute : DescriptionAttribute { private bool replaced = false; ////// Constructs a new sys description. /// public MonitoringDescriptionAttribute(string description) : base(description) { } ////// Retrieves the description text. /// public override string Description { get { if (!replaced) { replaced = true; DescriptionValue = SR.GetString(base.Description); } return base.Description; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Diagnostics { using System; using System.ComponentModel; ////// DescriptionAttribute marks a property, event, or extender with a /// description. Visual designers can display this description when referencing /// the member. /// [AttributeUsage(AttributeTargets.All)] public class MonitoringDescriptionAttribute : DescriptionAttribute { private bool replaced = false; ////// Constructs a new sys description. /// public MonitoringDescriptionAttribute(string description) : base(description) { } ////// Retrieves the description text. /// public override string Description { get { if (!replaced) { replaced = true; DescriptionValue = SR.GetString(base.Description); } return base.Description; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HistoryEventArgs.cs
- Size.cs
- GC.cs
- EntityDescriptor.cs
- RadialGradientBrush.cs
- Identity.cs
- MatrixCamera.cs
- IndentedTextWriter.cs
- MD5.cs
- GraphicsState.cs
- TreeNodeStyle.cs
- DrawingCollection.cs
- FileLogRecordHeader.cs
- InvalidProgramException.cs
- DocumentSequenceHighlightLayer.cs
- EntityDataSourceMemberPath.cs
- WebConfigurationFileMap.cs
- ApplicationServiceHelper.cs
- HttpBrowserCapabilitiesBase.cs
- CodeTypeDelegate.cs
- SqlProviderManifest.cs
- ListArgumentProvider.cs
- SystemTcpStatistics.cs
- EventLog.cs
- Helpers.cs
- ToolStripActionList.cs
- ContextMenuStrip.cs
- XmlStringTable.cs
- JsonStringDataContract.cs
- FixedDocumentPaginator.cs
- PropertyNames.cs
- WebPartEditorApplyVerb.cs
- StringAnimationUsingKeyFrames.cs
- MarkupExtensionReturnTypeAttribute.cs
- ToolStripDropDownItem.cs
- Vector.cs
- ActiveXHelper.cs
- MediaTimeline.cs
- RNGCryptoServiceProvider.cs
- localization.cs
- RenderingEventArgs.cs
- XmlAttributeCollection.cs
- DesignTimeParseData.cs
- EmptyCollection.cs
- ToolStripStatusLabel.cs
- ByteArrayHelperWithString.cs
- StopStoryboard.cs
- GifBitmapEncoder.cs
- Number.cs
- TreeNode.cs
- smtpconnection.cs
- Behavior.cs
- followingsibling.cs
- ScrollBarRenderer.cs
- StylusPointPropertyUnit.cs
- FunctionUpdateCommand.cs
- SqlProviderManifest.cs
- Size.cs
- WebPartConnectionsCancelVerb.cs
- EncodingDataItem.cs
- ContourSegment.cs
- XamlReaderConstants.cs
- AdRotatorDesigner.cs
- OperationFormatUse.cs
- FileDialogCustomPlace.cs
- KeyFrames.cs
- DetailsViewInsertEventArgs.cs
- HttpCookiesSection.cs
- MaskedTextBoxTextEditor.cs
- xmlsaver.cs
- CornerRadiusConverter.cs
- updateconfighost.cs
- ComponentChangingEvent.cs
- UInt32Converter.cs
- _ProxyChain.cs
- PathFigureCollectionConverter.cs
- XslTransform.cs
- SpellerInterop.cs
- ControlBuilder.cs
- NotConverter.cs
- SessionViewState.cs
- SoapRpcServiceAttribute.cs
- MethodCallConverter.cs
- MaskedTextBoxDesigner.cs
- SafeSecurityHelper.cs
- Transform3D.cs
- OptimizerPatterns.cs
- TextPattern.cs
- IndexerNameAttribute.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- COM2EnumConverter.cs
- SystemIcmpV6Statistics.cs
- ModelTreeManager.cs
- Camera.cs
- SafeViewOfFileHandle.cs
- Pair.cs
- GregorianCalendarHelper.cs
- HeaderCollection.cs
- Int16Converter.cs
- CodeNamespaceImport.cs