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
- Select.cs
- PasswordPropertyTextAttribute.cs
- FileLevelControlBuilderAttribute.cs
- MILUtilities.cs
- Invariant.cs
- CheckBox.cs
- DataGridViewCellStyleConverter.cs
- ControlBuilderAttribute.cs
- HttpContextServiceHost.cs
- ForeignKeyConstraint.cs
- ShaperBuffers.cs
- XmlUtil.cs
- DataGridViewLinkColumn.cs
- ClientOptions.cs
- SinglePhaseEnlistment.cs
- CodeConditionStatement.cs
- PeerNameRecord.cs
- FunctionMappingTranslator.cs
- DataGridViewDataErrorEventArgs.cs
- Registry.cs
- BinHexEncoding.cs
- KnownTypesHelper.cs
- SqlFactory.cs
- Axis.cs
- EdmType.cs
- ItemCollection.cs
- RectangleGeometry.cs
- StyleModeStack.cs
- XmlElementCollection.cs
- ArgumentNullException.cs
- RuntimeConfigurationRecord.cs
- TreeViewImageKeyConverter.cs
- MsmqHostedTransportManager.cs
- ScriptHandlerFactory.cs
- AxisAngleRotation3D.cs
- GlobalProxySelection.cs
- ResourcesGenerator.cs
- ArrangedElement.cs
- WebPartHelpVerb.cs
- TabControlCancelEvent.cs
- Compiler.cs
- SchemaLookupTable.cs
- XmlSchemaParticle.cs
- OutputCacheSettings.cs
- SmiRequestExecutor.cs
- StateDesigner.Helpers.cs
- ImageConverter.cs
- FlagsAttribute.cs
- RegistryPermission.cs
- PackagingUtilities.cs
- PerfCounters.cs
- SafeThemeHandle.cs
- OletxTransactionFormatter.cs
- SourceInterpreter.cs
- DecoratedNameAttribute.cs
- Constraint.cs
- CssStyleCollection.cs
- TypedReference.cs
- WSSecurityOneDotOneSendSecurityHeader.cs
- LineServicesRun.cs
- XmlMemberMapping.cs
- x509store.cs
- DataGridViewCellStyleBuilderDialog.cs
- WindowsSlider.cs
- AssemblyHash.cs
- DiagnosticsConfigurationHandler.cs
- BitmapMetadataEnumerator.cs
- LogicalChannel.cs
- DispatcherExceptionEventArgs.cs
- DbgUtil.cs
- KeySplineConverter.cs
- ResolveDuplexAsyncResult.cs
- MailSettingsSection.cs
- TableAdapterManagerGenerator.cs
- TimeSpanStorage.cs
- CommandHelper.cs
- AffineTransform3D.cs
- SqlFormatter.cs
- MemberExpressionHelper.cs
- HtmlInputControl.cs
- ReflectPropertyDescriptor.cs
- Int32CAMarshaler.cs
- QilXmlWriter.cs
- BitmapEffectRenderDataResource.cs
- XNodeNavigator.cs
- ServiceReflector.cs
- SoapObjectWriter.cs
- InternalConfigConfigurationFactory.cs
- EntityWithChangeTrackerStrategy.cs
- TypeListConverter.cs
- Opcode.cs
- FrameworkElement.cs
- Rectangle.cs
- DataGridColumnHeaderCollection.cs
- DetailsViewUpdateEventArgs.cs
- Hashtable.cs
- OleDbPropertySetGuid.cs
- PasswordTextContainer.cs
- XmlWhitespace.cs
- ImageSourceValueSerializer.cs