Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- RelationshipManager.cs
- SecurityDocument.cs
- BindToObject.cs
- ShapingWorkspace.cs
- Int16AnimationBase.cs
- HashCodeCombiner.cs
- NameSpaceExtractor.cs
- Pkcs9Attribute.cs
- DrawToolTipEventArgs.cs
- LocalizedNameDescriptionPair.cs
- PolicyManager.cs
- Positioning.cs
- IPGlobalProperties.cs
- XmlSchema.cs
- CaseKeyBox.ViewModel.cs
- OleDbFactory.cs
- ObjectListCommandEventArgs.cs
- __FastResourceComparer.cs
- UTF7Encoding.cs
- FileAuthorizationModule.cs
- WindowsTooltip.cs
- RoutedCommand.cs
- PointLight.cs
- IndexOutOfRangeException.cs
- GradientStop.cs
- AdornerLayer.cs
- Timer.cs
- VariableQuery.cs
- AsymmetricSecurityProtocol.cs
- FileEnumerator.cs
- ThreadStateException.cs
- SqlServer2KCompatibilityAnnotation.cs
- SessionParameter.cs
- AuditLevel.cs
- Expression.cs
- TabControl.cs
- RelationshipSet.cs
- ToolStrip.cs
- AnnotationComponentManager.cs
- XsltSettings.cs
- AttributeParameterInfo.cs
- X509CertificateInitiatorClientCredential.cs
- CompoundFileStreamReference.cs
- _ChunkParse.cs
- StatusBarItemAutomationPeer.cs
- ImportCatalogPart.cs
- ReferentialConstraint.cs
- XmlFormatWriterGenerator.cs
- Memoizer.cs
- IndexingContentUnit.cs
- CFStream.cs
- itemelement.cs
- ImageIndexConverter.cs
- SynchronizedInputProviderWrapper.cs
- DirectoryInfo.cs
- ResetableIterator.cs
- WorkflowShape.cs
- CacheAxisQuery.cs
- FieldBuilder.cs
- ToolStripRenderer.cs
- ButtonPopupAdapter.cs
- ColorMatrix.cs
- SamlAuthorizationDecisionStatement.cs
- UriExt.cs
- ListParagraph.cs
- MessageSmuggler.cs
- SqlClientWrapperSmiStream.cs
- AppSettingsSection.cs
- CurrentChangingEventArgs.cs
- DropShadowEffect.cs
- XPathNodeList.cs
- DescendantBaseQuery.cs
- OrderedDictionary.cs
- StyleCollection.cs
- XmlWrappingReader.cs
- Vector3DAnimationBase.cs
- LogicalTreeHelper.cs
- Line.cs
- WindowsStatusBar.cs
- DetailsViewInsertEventArgs.cs
- XmlSerializableWriter.cs
- ThaiBuddhistCalendar.cs
- ResourceWriter.cs
- AttributeUsageAttribute.cs
- WebPartTransformerAttribute.cs
- FormViewPageEventArgs.cs
- Compilation.cs
- DefaultEventAttribute.cs
- ShapeTypeface.cs
- CompositeCollectionView.cs
- ForeignConstraint.cs
- PtsHost.cs
- XsltQilFactory.cs
- PrefixQName.cs
- ArgIterator.cs
- DataGridViewCellCollection.cs
- XmlSchemaSimpleContentRestriction.cs
- TemplateXamlParser.cs
- PropertyPathConverter.cs
- LoginName.cs