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
- RSAPKCS1SignatureDeformatter.cs
- ProfileService.cs
- HttpRuntimeSection.cs
- LocationFactory.cs
- Marshal.cs
- PropertyGridView.cs
- Identity.cs
- UIElement.cs
- webclient.cs
- ACL.cs
- TabItemAutomationPeer.cs
- ArgumentReference.cs
- Int16AnimationUsingKeyFrames.cs
- HMACSHA384.cs
- InfoCardTraceRecord.cs
- ContextMenuStrip.cs
- ErrorFormatter.cs
- RepeaterItem.cs
- EditorZone.cs
- URLAttribute.cs
- SqlCommandBuilder.cs
- WebDescriptionAttribute.cs
- Merger.cs
- DataGridItemCollection.cs
- DefaultHttpHandler.cs
- dataprotectionpermissionattribute.cs
- DependencyPropertyAttribute.cs
- RegisteredExpandoAttribute.cs
- EventProviderBase.cs
- TypeUnloadedException.cs
- SqlConnection.cs
- DirectoryObjectSecurity.cs
- SchemaElementLookUpTableEnumerator.cs
- COSERVERINFO.cs
- SmtpException.cs
- DoubleConverter.cs
- SamlAction.cs
- DataSourceHelper.cs
- BrowserDefinition.cs
- DataSvcMapFileSerializer.cs
- CodePageUtils.cs
- IDictionary.cs
- XmlComment.cs
- RC2CryptoServiceProvider.cs
- EventBuilder.cs
- JsonSerializer.cs
- TemplateControlBuildProvider.cs
- DateTimeOffsetConverter.cs
- CapabilitiesUse.cs
- X509CertificateCollection.cs
- ImportCatalogPart.cs
- SchemaEntity.cs
- GeometryValueSerializer.cs
- Operand.cs
- BufferedStream2.cs
- BufferedStream.cs
- UnsafeNativeMethods.cs
- CacheMode.cs
- EventItfInfo.cs
- storepermissionattribute.cs
- SqlDataSourceQueryEditorForm.cs
- RuleDefinitions.cs
- ClientScriptItemCollection.cs
- ToolStripSeparatorRenderEventArgs.cs
- TimersDescriptionAttribute.cs
- _SslSessionsCache.cs
- RegexMatchCollection.cs
- EntityProviderFactory.cs
- MethodBuilder.cs
- AssociationTypeEmitter.cs
- IsolatedStorageException.cs
- SerialErrors.cs
- GridViewItemAutomationPeer.cs
- TimeIntervalCollection.cs
- FrameSecurityDescriptor.cs
- BitmapEffectGroup.cs
- Tuple.cs
- KeyValuePairs.cs
- LightweightEntityWrapper.cs
- ProcessInfo.cs
- DataGridViewRowsRemovedEventArgs.cs
- UnSafeCharBuffer.cs
- GACMembershipCondition.cs
- MergeExecutor.cs
- XsltContext.cs
- Point4D.cs
- MsmqProcessProtocolHandler.cs
- SqlTrackingWorkflowInstance.cs
- TextElementEnumerator.cs
- Polyline.cs
- MethodBuilderInstantiation.cs
- PropertyConverter.cs
- SmiEventSink.cs
- XmlAttributeOverrides.cs
- EmptyQuery.cs
- MergablePropertyAttribute.cs
- TaskFormBase.cs
- SqlClientWrapperSmiStream.cs
- FrameworkContextData.cs
- BCryptNative.cs