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
- _AuthenticationState.cs
- RepeaterCommandEventArgs.cs
- WindowsTokenRoleProvider.cs
- PolyLineSegment.cs
- BitStream.cs
- Script.cs
- WebPartVerbCollection.cs
- RelationshipManager.cs
- ImmutableObjectAttribute.cs
- ActivityTrace.cs
- _SecureChannel.cs
- WindowsGraphics2.cs
- ExceptionTranslationTable.cs
- InputBindingCollection.cs
- EditorPartCollection.cs
- CodeGroup.cs
- RegexNode.cs
- baseaxisquery.cs
- Char.cs
- SiteMapPathDesigner.cs
- WpfMemberInvoker.cs
- InvokeBase.cs
- SpeechAudioFormatInfo.cs
- IDictionary.cs
- GZipStream.cs
- AnchoredBlock.cs
- FormClosedEvent.cs
- DependencyStoreSurrogate.cs
- CursorConverter.cs
- SolidBrush.cs
- SelectionRange.cs
- ActivityExecutionContextCollection.cs
- FlowDocumentView.cs
- ELinqQueryState.cs
- Utility.cs
- KeyboardEventArgs.cs
- BooleanAnimationBase.cs
- NegotiateStream.cs
- CodeAttachEventStatement.cs
- DataBoundControl.cs
- updateconfighost.cs
- TextBoxRenderer.cs
- _Win32.cs
- ProjectionAnalyzer.cs
- EntityPropertyMappingAttribute.cs
- EntityAdapter.cs
- TraceSection.cs
- ToolZone.cs
- DataSourceCacheDurationConverter.cs
- KerberosTicketHashIdentifierClause.cs
- ClrProviderManifest.cs
- CacheOutputQuery.cs
- ExternalCalls.cs
- XmlSortKeyAccumulator.cs
- ConstructorNeedsTagAttribute.cs
- MultiDataTrigger.cs
- TypeDescriptionProvider.cs
- SafeFileMappingHandle.cs
- HostingEnvironment.cs
- MetadataItem.cs
- PackWebResponse.cs
- CodeCatchClauseCollection.cs
- SqlConnectionPoolProviderInfo.cs
- PrintingPermissionAttribute.cs
- HMACSHA512.cs
- MissingSatelliteAssemblyException.cs
- SemanticResultValue.cs
- ItemCollection.cs
- initElementDictionary.cs
- FixedSOMPageElement.cs
- TextTreeUndo.cs
- SchemaNamespaceManager.cs
- ISCIIEncoding.cs
- TreeView.cs
- tibetanshape.cs
- GestureRecognitionResult.cs
- ReverseComparer.cs
- PackWebRequestFactory.cs
- ExtensionQuery.cs
- CqlParserHelpers.cs
- SymLanguageType.cs
- CodeTypeDelegate.cs
- GridErrorDlg.cs
- __ConsoleStream.cs
- DesignTimeTemplateParser.cs
- CommandEventArgs.cs
- FileDialogCustomPlace.cs
- GiveFeedbackEventArgs.cs
- BindingsCollection.cs
- TypeLibConverter.cs
- PTUtility.cs
- _SslState.cs
- Rect3D.cs
- UserControl.cs
- AudioDeviceOut.cs
- WindowsRebar.cs
- SymmetricSecurityBindingElement.cs
- ConstraintConverter.cs
- XmlAnyElementAttribute.cs
- MediaPlayer.cs