Code:
/ DotNET / DotNET / 8.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
- TargetParameterCountException.cs
- EntityContainerEmitter.cs
- RetrieveVirtualItemEventArgs.cs
- EventsTab.cs
- CompiledIdentityConstraint.cs
- peernodeimplementation.cs
- HtmlInputReset.cs
- DuplicateDetector.cs
- XmlNodeChangedEventArgs.cs
- XsdDataContractImporter.cs
- EntityFunctions.cs
- HGlobalSafeHandle.cs
- TextRangeAdaptor.cs
- BaseResourcesBuildProvider.cs
- XPathBinder.cs
- Context.cs
- GenericRootAutomationPeer.cs
- NavigationWindow.cs
- XmlSchemaSimpleContent.cs
- AsymmetricKeyExchangeFormatter.cs
- WebPartManager.cs
- InvalidEnumArgumentException.cs
- AuthenticationServiceManager.cs
- DataGridTextBox.cs
- Matrix.cs
- WinEventHandler.cs
- AccessibilityApplicationManager.cs
- UnicastIPAddressInformationCollection.cs
- RIPEMD160Managed.cs
- InfoCardBaseException.cs
- XmlAttributeCache.cs
- StandardCommands.cs
- OptimisticConcurrencyException.cs
- UITypeEditor.cs
- CapacityStreamGeometryContext.cs
- SystemWebSectionGroup.cs
- HttpConfigurationSystem.cs
- TerminateDesigner.cs
- DoubleAverageAggregationOperator.cs
- safelink.cs
- StrokeSerializer.cs
- OrthographicCamera.cs
- Grammar.cs
- DefaultTraceListener.cs
- GlobalId.cs
- ComEventsHelper.cs
- PageContent.cs
- GenericAuthenticationEventArgs.cs
- Stopwatch.cs
- SurrogateEncoder.cs
- SecurityTokenParameters.cs
- Evaluator.cs
- DataBindingExpressionBuilder.cs
- BitmapInitialize.cs
- DependentTransaction.cs
- StrongNameUtility.cs
- FormViewUpdatedEventArgs.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- AuthorizationRule.cs
- WorkflowDebuggerSteppingAttribute.cs
- XmlObjectSerializer.cs
- UndoEngine.cs
- ScalarOps.cs
- RelatedPropertyManager.cs
- StatusBar.cs
- ProcessModelSection.cs
- ProfileEventArgs.cs
- OperationCanceledException.cs
- InternalConfigHost.cs
- XmlDictionary.cs
- RotateTransform3D.cs
- CounterSample.cs
- XmlDocumentSchema.cs
- RelationshipDetailsRow.cs
- PropertyCondition.cs
- CapabilitiesAssignment.cs
- XamlReader.cs
- Pointer.cs
- UnsafeNetInfoNativeMethods.cs
- FormViewUpdateEventArgs.cs
- XmlExpressionDumper.cs
- QueryExecutionOption.cs
- DateTimeConstantAttribute.cs
- EditorZone.cs
- VisualStyleElement.cs
- RadioButtonList.cs
- AliasGenerator.cs
- UrlMappingsModule.cs
- AmbientValueAttribute.cs
- InvokeProviderWrapper.cs
- OracleInternalConnection.cs
- RtfNavigator.cs
- DataMemberAttribute.cs
- NamespaceTable.cs
- OdbcError.cs
- ScriptResourceAttribute.cs
- Misc.cs
- RoleManagerSection.cs
- EdmSchemaError.cs
- AssemblyBuilder.cs