Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / Monitoring / system / Diagnosticts / MonitoringDescriptionAttribute.cs / 1305376 / 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
- AudioBase.cs
- ManifestSignatureInformation.cs
- HintTextMaxWidthConverter.cs
- ValidationRule.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- Soap12FormatExtensions.cs
- InvokePatternIdentifiers.cs
- InvalidOleVariantTypeException.cs
- HMACSHA256.cs
- ControlType.cs
- ClientSettingsSection.cs
- TextElementCollection.cs
- ApplicationSecurityManager.cs
- SpotLight.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- TimeSpanParse.cs
- ChildDocumentBlock.cs
- EpmSyndicationContentSerializer.cs
- ExecutionContext.cs
- DataStreams.cs
- DivideByZeroException.cs
- DataServiceStreamResponse.cs
- TextChange.cs
- base64Transforms.cs
- StringConverter.cs
- AssertSection.cs
- SqlServices.cs
- ObjectTag.cs
- CacheDependency.cs
- Base64Decoder.cs
- SecurityHeaderTokenResolver.cs
- PointHitTestResult.cs
- PackageDigitalSignature.cs
- SqlConnectionManager.cs
- SafeCryptoKeyHandle.cs
- QueryCacheManager.cs
- ToolStripPanelRenderEventArgs.cs
- AutomationPropertyInfo.cs
- Composition.cs
- WorkflowMarkupSerializationManager.cs
- OdbcCommand.cs
- SqlSupersetValidator.cs
- ComponentResourceManager.cs
- ToolStripSettings.cs
- InputLanguageSource.cs
- GatewayIPAddressInformationCollection.cs
- ProfileModule.cs
- MonikerHelper.cs
- TreeViewEvent.cs
- EventRoute.cs
- ColumnClickEvent.cs
- SiteMapNodeCollection.cs
- SettingsBindableAttribute.cs
- TextTreeUndoUnit.cs
- EntityType.cs
- Int64KeyFrameCollection.cs
- DecodeHelper.cs
- SizeConverter.cs
- NoResizeSelectionBorderGlyph.cs
- TemplateNameScope.cs
- ToolboxItemSnapLineBehavior.cs
- RemotingConfiguration.cs
- StringConcat.cs
- DesignerActionKeyboardBehavior.cs
- DoubleKeyFrameCollection.cs
- MultiBinding.cs
- ExpressionEditorSheet.cs
- MobileControlsSection.cs
- Vector3DKeyFrameCollection.cs
- MdiWindowListItemConverter.cs
- MaskedTextBox.cs
- DocumentPageHost.cs
- BamlBinaryWriter.cs
- MsmqInputChannelListenerBase.cs
- DrawingGroupDrawingContext.cs
- IntSecurity.cs
- FaultPropagationQuery.cs
- FunctionDescription.cs
- Encoder.cs
- CacheOutputQuery.cs
- HeaderCollection.cs
- XmlSchema.cs
- securitycriticaldataClass.cs
- TabControlToolboxItem.cs
- MediaScriptCommandRoutedEventArgs.cs
- EditorAttributeInfo.cs
- LineServicesCallbacks.cs
- ScriptComponentDescriptor.cs
- TdsParser.cs
- BitmapFrameEncode.cs
- NamespaceListProperty.cs
- DataGridViewCellStyleEditor.cs
- HttpDebugHandler.cs
- JsonEncodingStreamWrapper.cs
- VirtualDirectoryMapping.cs
- CertificateReferenceElement.cs
- ToolStripPanelSelectionGlyph.cs
- SecureUICommand.cs
- OrderedDictionary.cs
- SeekStoryboard.cs