Code:
/ FX-1434 / FX-1434 / 1.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
- Vector3D.cs
- ActivationArguments.cs
- HandledEventArgs.cs
- MatrixCamera.cs
- TrustManagerPromptUI.cs
- Double.cs
- Int32Animation.cs
- StringUtil.cs
- NullToBooleanConverter.cs
- Int64KeyFrameCollection.cs
- UriTemplate.cs
- TrackingDataItem.cs
- JsonWriter.cs
- ClientConfigurationHost.cs
- WinCategoryAttribute.cs
- RawAppCommandInputReport.cs
- XmlAttribute.cs
- FormsAuthenticationModule.cs
- SByte.cs
- TokenCreationParameter.cs
- Scripts.cs
- PkcsMisc.cs
- XmlSchemaException.cs
- ClipboardData.cs
- AspNetSynchronizationContext.cs
- WebHttpEndpointElement.cs
- PageBreakRecord.cs
- HttpClientCertificate.cs
- Mapping.cs
- Bidi.cs
- ProjectionPlanCompiler.cs
- SimpleRecyclingCache.cs
- XamlTreeBuilderBamlRecordWriter.cs
- OrderPreservingPipeliningSpoolingTask.cs
- ToolStripTextBox.cs
- DbConnectionPool.cs
- HttpResponseInternalWrapper.cs
- Timer.cs
- DiscardableAttribute.cs
- SafeFileMapViewHandle.cs
- CombinedGeometry.cs
- QueryOperationResponseOfT.cs
- HttpVersion.cs
- Int32EqualityComparer.cs
- CompareValidator.cs
- NameNode.cs
- ObjectDataSourceStatusEventArgs.cs
- SemaphoreSlim.cs
- NativeMethods.cs
- LocalizableAttribute.cs
- EntityViewContainer.cs
- OdbcStatementHandle.cs
- DropDownList.cs
- HostedImpersonationContext.cs
- IPAddress.cs
- _RegBlobWebProxyDataBuilder.cs
- TemplatePropertyEntry.cs
- BinaryUtilClasses.cs
- SecurityKeyIdentifier.cs
- Bits.cs
- BitmapEffect.cs
- ParallelTimeline.cs
- Application.cs
- XmlSequenceWriter.cs
- AssemblyInfo.cs
- XmlSiteMapProvider.cs
- CommonRemoteMemoryBlock.cs
- WebScriptMetadataMessageEncoderFactory.cs
- ResourceDisplayNameAttribute.cs
- SqlFactory.cs
- RequestDescription.cs
- WorkflowPersistenceService.cs
- Int64.cs
- DataPagerField.cs
- OrderedDictionaryStateHelper.cs
- Selection.cs
- Win32MouseDevice.cs
- ResXDataNode.cs
- XmlTypeMapping.cs
- CommandHelpers.cs
- ItemList.cs
- AlternateViewCollection.cs
- MaxMessageSizeStream.cs
- UnsafePeerToPeerMethods.cs
- ProxyWebPart.cs
- SqlCacheDependency.cs
- DirectoryInfo.cs
- HTMLTextWriter.cs
- MobileCategoryAttribute.cs
- FlowDocumentScrollViewer.cs
- DataFormats.cs
- LabelLiteral.cs
- TraversalRequest.cs
- ConnectionsZone.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- RoleService.cs
- XmlHelper.cs
- WarningException.cs
- BridgeDataRecord.cs
- DbProviderFactories.cs