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
- AddValidationError.cs
- SafeHandles.cs
- odbcmetadatafactory.cs
- SafeFileMappingHandle.cs
- Transform3DGroup.cs
- DesignerActionGlyph.cs
- ValidatedControlConverter.cs
- Pens.cs
- SiteMapPath.cs
- ReservationCollection.cs
- ServiceAppDomainAssociationProvider.cs
- ToggleButtonAutomationPeer.cs
- ToolboxItemFilterAttribute.cs
- RegisteredDisposeScript.cs
- OleCmdHelper.cs
- ProjectionCamera.cs
- FileUpload.cs
- Error.cs
- XomlCompilerError.cs
- SystemWebCachingSectionGroup.cs
- EncodingDataItem.cs
- AnnotationHelper.cs
- Int32CAMarshaler.cs
- BinHexDecoder.cs
- PropertyGridView.cs
- FormsAuthenticationUser.cs
- hwndwrapper.cs
- IItemContainerGenerator.cs
- SqlDataSourceStatusEventArgs.cs
- AllMembershipCondition.cs
- TdsParser.cs
- PeerCustomResolverElement.cs
- SqlHelper.cs
- TreeNodeStyleCollection.cs
- DerivedKeySecurityTokenStub.cs
- PageStatePersister.cs
- MDIWindowDialog.cs
- PrimaryKeyTypeConverter.cs
- DelegateSerializationHolder.cs
- PenLineJoinValidation.cs
- ParseElement.cs
- IncrementalReadDecoders.cs
- Codec.cs
- TextDecorationCollection.cs
- APCustomTypeDescriptor.cs
- XmlIgnoreAttribute.cs
- CompiledIdentityConstraint.cs
- SqlCommand.cs
- Walker.cs
- WebPartConnection.cs
- UInt16Converter.cs
- ApplicationActivator.cs
- NativeActivity.cs
- MediaContext.cs
- RecognizedPhrase.cs
- ProjectionCamera.cs
- StylusOverProperty.cs
- Inline.cs
- EncoderReplacementFallback.cs
- UserControl.cs
- OracleLob.cs
- LineVisual.cs
- VoiceChangeEventArgs.cs
- XmlWriterTraceListener.cs
- ValueUtilsSmi.cs
- PageParser.cs
- RectAnimation.cs
- TypeLibConverter.cs
- PathSegmentCollection.cs
- XpsInterleavingPolicy.cs
- ArgumentOutOfRangeException.cs
- FileFormatException.cs
- MsmqIntegrationProcessProtocolHandler.cs
- TemplateBamlTreeBuilder.cs
- PropertyItem.cs
- EventListenerClientSide.cs
- ContractMethodInfo.cs
- SecurityDocument.cs
- BookmarkCallbackWrapper.cs
- CacheSection.cs
- WindowsGraphicsWrapper.cs
- ClientSponsor.cs
- CheckPair.cs
- InternalBase.cs
- MatrixAnimationBase.cs
- ServiceErrorHandler.cs
- UserControlBuildProvider.cs
- DragDropManager.cs
- StringStorage.cs
- VirtualizingStackPanel.cs
- NegationPusher.cs
- AsyncPostBackTrigger.cs
- SqlReorderer.cs
- SmiContextFactory.cs
- COM2ColorConverter.cs
- TransportBindingElement.cs
- ConstructorExpr.cs
- SqlServer2KCompatibilityCheck.cs
- ControlValuePropertyAttribute.cs
- FontStyleConverter.cs