Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- HandlerFactoryCache.cs
- XmlDataDocument.cs
- HtmlTableRowCollection.cs
- SuppressIldasmAttribute.cs
- Misc.cs
- DataProtection.cs
- Logging.cs
- SqlConnectionHelper.cs
- ConfigurationManagerHelperFactory.cs
- ToolStripSplitStackLayout.cs
- RedirectionProxy.cs
- ClipboardData.cs
- CookieParameter.cs
- MessagePropertyVariants.cs
- ObservableDictionary.cs
- XPathParser.cs
- HexParser.cs
- DrawingAttributeSerializer.cs
- GridView.cs
- log.cs
- AsyncResult.cs
- ProgressChangedEventArgs.cs
- EmitterCache.cs
- ReaderWriterLock.cs
- AttachmentCollection.cs
- CacheSection.cs
- QueuePathEditor.cs
- LinkedResource.cs
- Dictionary.cs
- User.cs
- RemotingSurrogateSelector.cs
- DataGridViewColumnHeaderCell.cs
- FlatButtonAppearance.cs
- DateTimeFormatInfoScanner.cs
- LOSFormatter.cs
- Serializer.cs
- BitmapData.cs
- X509ChainElement.cs
- CopyNodeSetAction.cs
- DictionaryGlobals.cs
- Accessible.cs
- Base64Decoder.cs
- Size.cs
- EventHandlersDesigner.cs
- EDesignUtil.cs
- SymmetricKeyWrap.cs
- TrackingProfileCache.cs
- ProfileSettingsCollection.cs
- CodeAccessPermission.cs
- HwndSourceKeyboardInputSite.cs
- SoapIgnoreAttribute.cs
- WinInetCache.cs
- ConfigurationElement.cs
- XmlWhitespace.cs
- PartManifestEntry.cs
- NoResizeSelectionBorderGlyph.cs
- ISCIIEncoding.cs
- ParserHooks.cs
- UpDownEvent.cs
- ContextMenu.cs
- CodeAttributeDeclarationCollection.cs
- TouchPoint.cs
- ElementProxy.cs
- UIElementCollection.cs
- PrintDialogDesigner.cs
- ColumnPropertiesGroup.cs
- CanonicalXml.cs
- NameSpaceExtractor.cs
- SecureEnvironment.cs
- VirtualPath.cs
- InlineUIContainer.cs
- DataGridViewButtonCell.cs
- CollectionBase.cs
- RefExpr.cs
- DataGridViewLinkCell.cs
- LinqDataSourceDisposeEventArgs.cs
- Point4DValueSerializer.cs
- DataGridViewRowsRemovedEventArgs.cs
- SingleTagSectionHandler.cs
- MemoryPressure.cs
- QueryCacheEntry.cs
- sitestring.cs
- PluralizationService.cs
- ActivationService.cs
- XamlFilter.cs
- HttpCacheParams.cs
- Int64AnimationUsingKeyFrames.cs
- ProcessManager.cs
- SqlBulkCopyColumnMappingCollection.cs
- FollowerQueueCreator.cs
- LinqExpressionNormalizer.cs
- FindResponse.cs
- EFAssociationProvider.cs
- PanelDesigner.cs
- ClientData.cs
- EventSinkHelperWriter.cs
- DataIdProcessor.cs
- RowUpdatedEventArgs.cs
- InternalConfigConfigurationFactory.cs
- ViewGenerator.cs