Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Services / Monitoring / system / Diagnosticts / MonitoringDescriptionAttribute.cs / 1 / 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; } } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SynchronizedInputProviderWrapper.cs
- XmlSchemaCollection.cs
- UnknownWrapper.cs
- UidManager.cs
- ScriptingJsonSerializationSection.cs
- QueryStringHandler.cs
- SqlCachedBuffer.cs
- XPathAncestorQuery.cs
- EnumerableRowCollectionExtensions.cs
- CodeMethodMap.cs
- BorderSidesEditor.cs
- HtmlMeta.cs
- TdsEnums.cs
- XPathNavigatorKeyComparer.cs
- User.cs
- ExpressionDumper.cs
- GridPatternIdentifiers.cs
- BamlBinaryReader.cs
- XmlSchemaInferenceException.cs
- DateTimeParse.cs
- CheckBoxRenderer.cs
- EditCommandColumn.cs
- FrameworkReadOnlyPropertyMetadata.cs
- BamlCollectionHolder.cs
- UInt16Converter.cs
- BaseTemplateBuildProvider.cs
- Point3DAnimation.cs
- Int32KeyFrameCollection.cs
- CompilerGlobalScopeAttribute.cs
- TablePatternIdentifiers.cs
- ComplusEndpointConfigContainer.cs
- ClientType.cs
- DaylightTime.cs
- DataKey.cs
- Region.cs
- TransformationRules.cs
- PassportAuthentication.cs
- PropertyInformation.cs
- PasswordRecovery.cs
- FieldBuilder.cs
- PassportAuthenticationModule.cs
- TouchEventArgs.cs
- ToolStripTextBox.cs
- _SafeNetHandles.cs
- TextMetrics.cs
- arabicshape.cs
- SynchronizingStream.cs
- HashLookup.cs
- Thickness.cs
- Int32KeyFrameCollection.cs
- AstTree.cs
- SourceFileInfo.cs
- FileClassifier.cs
- StorageEntityTypeMapping.cs
- ConstraintStruct.cs
- LoadedOrUnloadedOperation.cs
- KeyedPriorityQueue.cs
- ChangeProcessor.cs
- SafeEventHandle.cs
- BaseParser.cs
- ClientUtils.cs
- RuntimeHelpers.cs
- InputDevice.cs
- datacache.cs
- ContentIterators.cs
- FontFamilyConverter.cs
- FontWeightConverter.cs
- DataGridToolTip.cs
- RequiredArgumentAttribute.cs
- ZipIOCentralDirectoryBlock.cs
- TimeoutStream.cs
- SoapReflector.cs
- FrugalList.cs
- ExpressionBuilder.cs
- TimeSpan.cs
- TypeUtil.cs
- Cell.cs
- MulticastNotSupportedException.cs
- ErrorFormatterPage.cs
- LinearKeyFrames.cs
- LicenseManager.cs
- HtmlGenericControl.cs
- RowSpanVector.cs
- ImageMetadata.cs
- ComponentEditorForm.cs
- GAC.cs
- CultureMapper.cs
- BufferedReceiveElement.cs
- Point.cs
- ExceptionUtil.cs
- HttpCookieCollection.cs
- PropertyGridView.cs
- documentsequencetextpointer.cs
- Size.cs
- DataObjectEventArgs.cs
- InteropTrackingRecord.cs
- UrlSyndicationContent.cs
- MTConfigUtil.cs
- InvalidComObjectException.cs
- FormView.cs