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
- StringReader.cs
- SqlDataSource.cs
- DataGridViewHitTestInfo.cs
- ZipQueryOperator.cs
- RepeatInfo.cs
- ScrollItemPatternIdentifiers.cs
- CustomAttributeBuilder.cs
- GACIdentityPermission.cs
- ObjectSecurity.cs
- SmtpNegotiateAuthenticationModule.cs
- StylusPointDescription.cs
- Quaternion.cs
- UInt16.cs
- _NegotiateClient.cs
- RestHandler.cs
- SByteStorage.cs
- ComponentEditorForm.cs
- DateTimeUtil.cs
- AudioFormatConverter.cs
- ContentDisposition.cs
- RegionData.cs
- BinaryObjectInfo.cs
- RepeaterDataBoundAdapter.cs
- EdmEntityTypeAttribute.cs
- PeerContact.cs
- ToolStripGrip.cs
- ConfigXmlComment.cs
- DynamicUpdateCommand.cs
- PointKeyFrameCollection.cs
- webeventbuffer.cs
- QuaternionConverter.cs
- ThreadAbortException.cs
- DetailsViewRow.cs
- EntitySetBase.cs
- TypeValidationEventArgs.cs
- Win32.cs
- IProvider.cs
- AsymmetricAlgorithm.cs
- Version.cs
- storepermission.cs
- UnauthorizedAccessException.cs
- ReturnValue.cs
- ResXFileRef.cs
- PagedDataSource.cs
- Triplet.cs
- PackageDigitalSignature.cs
- WebMessageEncoderFactory.cs
- PageStatePersister.cs
- XmlNodeList.cs
- SerializationFieldInfo.cs
- CalendarData.cs
- DbProviderServices.cs
- WebCodeGenerator.cs
- EventLogPermissionEntry.cs
- Semaphore.cs
- BevelBitmapEffect.cs
- AuthenticationModeHelper.cs
- Win32.cs
- FixedFindEngine.cs
- Quaternion.cs
- WindowsUpDown.cs
- RegexRunnerFactory.cs
- BamlRecordReader.cs
- NotifyCollectionChangedEventArgs.cs
- SignedXml.cs
- SqlNamer.cs
- CodeDirectoryCompiler.cs
- SegmentInfo.cs
- ErasingStroke.cs
- SqlDataSourceCommandEventArgs.cs
- ExecutionContext.cs
- ThreadTrace.cs
- HttpWebRequest.cs
- DesigntimeLicenseContext.cs
- NamedPipeConnectionPoolSettingsElement.cs
- PageContentCollection.cs
- NominalTypeEliminator.cs
- TraceContextEventArgs.cs
- EntityDataSourceSelectedEventArgs.cs
- ChannelServices.cs
- SettingsBindableAttribute.cs
- xdrvalidator.cs
- DesignerDataParameter.cs
- TargetControlTypeCache.cs
- TagElement.cs
- StrongNamePublicKeyBlob.cs
- CodeVariableDeclarationStatement.cs
- SortQuery.cs
- IDispatchConstantAttribute.cs
- SequenceNumber.cs
- ListenDesigner.cs
- CompilerParameters.cs
- TextEditorSelection.cs
- EntityKeyElement.cs
- JsonFormatWriterGenerator.cs
- XmlSchemaExternal.cs
- PreservationFileReader.cs
- GradientStop.cs
- ClosureBinding.cs
- SqlGatherConsumedAliases.cs