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
- HtmlTextArea.cs
- UIElementCollection.cs
- sqlstateclientmanager.cs
- SqlClientFactory.cs
- ThreadSafeList.cs
- FormsAuthenticationUser.cs
- HebrewNumber.cs
- CodeTypeConstructor.cs
- DesignerAttribute.cs
- XmlTypeMapping.cs
- WebPartConnectionsCloseVerb.cs
- ThemeDirectoryCompiler.cs
- ObjectParameterCollection.cs
- XmlAttributes.cs
- IISUnsafeMethods.cs
- ImageSourceValueSerializer.cs
- DiscoveryReference.cs
- PropertyChange.cs
- StrongNameIdentityPermission.cs
- GridViewAutomationPeer.cs
- DataGridViewRowConverter.cs
- SQLString.cs
- MessageEventSubscriptionService.cs
- HttpClientChannel.cs
- HandlerFactoryCache.cs
- ColorPalette.cs
- CompositeDataBoundControl.cs
- XPathParser.cs
- ByteRangeDownloader.cs
- Queue.cs
- HostProtectionPermission.cs
- ComponentGuaranteesAttribute.cs
- documentsequencetextview.cs
- _ProxyChain.cs
- JsonFormatGeneratorStatics.cs
- WindowsImpersonationContext.cs
- UnionCodeGroup.cs
- CodeTypeParameter.cs
- LogExtentCollection.cs
- BinaryObjectWriter.cs
- IndentTextWriter.cs
- UrlMappingCollection.cs
- DataKeyArray.cs
- XPathNavigator.cs
- DataErrorValidationRule.cs
- GeneratedView.cs
- CodeNamespace.cs
- Control.cs
- ConstraintCollection.cs
- DataGridViewIntLinkedList.cs
- CssTextWriter.cs
- TrackPoint.cs
- TransactionContextValidator.cs
- RecognizerInfo.cs
- CompositeActivityDesigner.cs
- Util.cs
- XPathParser.cs
- UInt16Storage.cs
- Itemizer.cs
- Boolean.cs
- BuildManagerHost.cs
- PopupRoot.cs
- TreeNode.cs
- HtmlTableCellCollection.cs
- SqlFlattener.cs
- RunClient.cs
- ReferencedAssembly.cs
- SchemaNotation.cs
- wpf-etw.cs
- EasingKeyFrames.cs
- ExpressionNormalizer.cs
- SqlDataSourceQueryEditorForm.cs
- DataList.cs
- ReadOnlyNameValueCollection.cs
- CustomCategoryAttribute.cs
- OpCopier.cs
- FontStyleConverter.cs
- Parser.cs
- ConfigurationValue.cs
- SettingsProperty.cs
- TTSEvent.cs
- RoutingTable.cs
- Vector3DConverter.cs
- DbProviderSpecificTypePropertyAttribute.cs
- ObjectQueryState.cs
- SqlDeflator.cs
- ChainedAsyncResult.cs
- ToolStripCollectionEditor.cs
- DrawingAttributesDefaultValueFactory.cs
- MatrixTransform3D.cs
- MultiPropertyDescriptorGridEntry.cs
- ManagementNamedValueCollection.cs
- ProfessionalColors.cs
- ListDataBindEventArgs.cs
- AssertHelper.cs
- DataSourceXmlTextReader.cs
- Roles.cs
- TextCompositionManager.cs
- ListenerAdapter.cs
- UInt32.cs