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
- _KerberosClient.cs
- Brush.cs
- OnOperation.cs
- PackWebRequest.cs
- CodeIndexerExpression.cs
- ConfigurationElementCollection.cs
- GeneralTransform.cs
- HitTestParameters3D.cs
- ToolStripItemRenderEventArgs.cs
- EmptyEnumerator.cs
- StoreConnection.cs
- VirtualizingPanel.cs
- OleDbFactory.cs
- Point.cs
- PlaceHolder.cs
- SqlMetaData.cs
- RichTextBox.cs
- QilList.cs
- JavaScriptSerializer.cs
- ScriptManager.cs
- SecurityPermission.cs
- DoubleLink.cs
- TextEditorLists.cs
- EdmFunctionAttribute.cs
- ILGenerator.cs
- DurableRuntimeValidator.cs
- TemplateColumn.cs
- EdmToObjectNamespaceMap.cs
- UInt64.cs
- ApplicationSettingsBase.cs
- ContextActivityUtils.cs
- AccessKeyManager.cs
- SizeAnimationClockResource.cs
- StorageInfo.cs
- WindowsTitleBar.cs
- Config.cs
- ClipboardData.cs
- SecurityPermission.cs
- Select.cs
- ManagementOperationWatcher.cs
- SchemaLookupTable.cs
- ContextDataSource.cs
- PermissionSet.cs
- MenuItem.cs
- TypeReference.cs
- MenuItemStyle.cs
- ProcessModuleCollection.cs
- GenericRootAutomationPeer.cs
- AssemblyHash.cs
- WebPartHeaderCloseVerb.cs
- HttpCookieCollection.cs
- RelationalExpressions.cs
- PasswordBoxAutomationPeer.cs
- QueuePathDialog.cs
- XamlPoint3DCollectionSerializer.cs
- XhtmlCssHandler.cs
- HuffmanTree.cs
- MenuEventArgs.cs
- WebSysDefaultValueAttribute.cs
- DataBoundLiteralControl.cs
- PtsHost.cs
- SmtpFailedRecipientsException.cs
- ResourcePermissionBase.cs
- Query.cs
- JobDuplex.cs
- ScaleTransform3D.cs
- HandleCollector.cs
- StringHelper.cs
- SystemUnicastIPAddressInformation.cs
- NumberAction.cs
- Stopwatch.cs
- MenuItemAutomationPeer.cs
- XomlCompilerParameters.cs
- ApplicationFileParser.cs
- SqlReorderer.cs
- Constraint.cs
- ToolStripItemEventArgs.cs
- GotoExpression.cs
- OleDbWrapper.cs
- BorderGapMaskConverter.cs
- OleDbPermission.cs
- CookieProtection.cs
- ToolStripTextBox.cs
- WebServiceData.cs
- XComponentModel.cs
- GifBitmapEncoder.cs
- XmlQueryStaticData.cs
- RadioButtonDesigner.cs
- COM2ColorConverter.cs
- Point3DAnimationBase.cs
- CheckBoxStandardAdapter.cs
- ListBoxItem.cs
- BlockUIContainer.cs
- WeakEventTable.cs
- MetafileHeaderWmf.cs
- HtmlValidatorAdapter.cs
- ContextMenuService.cs
- GradientStopCollection.cs
- NeedSkipTokenVisitor.cs
- CategoryGridEntry.cs