Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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; } } } } // 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
- BaseDataListDesigner.cs
- DataPager.cs
- TimeStampChecker.cs
- XmlUtf8RawTextWriter.cs
- ContextProperty.cs
- XmlSchemaObjectTable.cs
- ExpressionCopier.cs
- HandleCollector.cs
- RequestCachePolicy.cs
- LayoutEngine.cs
- GroupDescription.cs
- TransformConverter.cs
- RegexMatch.cs
- SiteMap.cs
- MenuItemStyleCollectionEditor.cs
- HtmlTableRowCollection.cs
- Variant.cs
- HashMembershipCondition.cs
- WebPartAuthorizationEventArgs.cs
- __ConsoleStream.cs
- InputMethodStateChangeEventArgs.cs
- DataListItemEventArgs.cs
- SelectedPathEditor.cs
- CodeIdentifiers.cs
- Application.cs
- Compilation.cs
- Control.cs
- WinEventHandler.cs
- Dictionary.cs
- Crc32.cs
- PropertyStore.cs
- FormViewPageEventArgs.cs
- autovalidator.cs
- PointIndependentAnimationStorage.cs
- Model3DCollection.cs
- XmlDataLoader.cs
- PeerNameRecord.cs
- XmlSecureResolver.cs
- SignatureDescription.cs
- ReverseQueryOperator.cs
- DataGridViewCellStyle.cs
- FontFamily.cs
- EventMappingSettings.cs
- StylusPointPropertyUnit.cs
- PrintingPermissionAttribute.cs
- CodeIdentifiers.cs
- GenerateTemporaryTargetAssembly.cs
- ExpressionPrefixAttribute.cs
- NamespaceTable.cs
- SortableBindingList.cs
- OledbConnectionStringbuilder.cs
- ErrorFormatterPage.cs
- SubpageParaClient.cs
- HtmlElementCollection.cs
- SystemIPGlobalProperties.cs
- Debug.cs
- XmlSchemaRedefine.cs
- ResourceDescriptionAttribute.cs
- nulltextnavigator.cs
- DesignBindingValueUIHandler.cs
- ProjectionCamera.cs
- DeviceContexts.cs
- ListBoxItemAutomationPeer.cs
- DataGridViewTopRowAccessibleObject.cs
- CallbackValidator.cs
- OleDbDataAdapter.cs
- Automation.cs
- BooleanFunctions.cs
- UpdateException.cs
- ContextBase.cs
- XmlSchemaAnyAttribute.cs
- OracleTransaction.cs
- SudsCommon.cs
- PenCursorManager.cs
- ContractMapping.cs
- ListSortDescriptionCollection.cs
- TrustManagerMoreInformation.cs
- TagPrefixAttribute.cs
- PageHandlerFactory.cs
- recordstate.cs
- NullableDoubleSumAggregationOperator.cs
- RewritingProcessor.cs
- FontDifferentiator.cs
- Label.cs
- StreamInfo.cs
- BinaryFormatterWriter.cs
- OleDbMetaDataFactory.cs
- ListBoxAutomationPeer.cs
- ScrollChrome.cs
- TabPage.cs
- XmlSchemaCompilationSettings.cs
- UriTemplateTrieLocation.cs
- TableParagraph.cs
- PixelShader.cs
- SettingsPropertyNotFoundException.cs
- _ListenerResponseStream.cs
- PageStatePersister.cs
- ResourceAttributes.cs
- RefType.cs
- HttpInputStream.cs