Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- LinkedResourceCollection.cs
- TextStore.cs
- SqlExpander.cs
- SupportsEventValidationAttribute.cs
- MailWriter.cs
- OleDbInfoMessageEvent.cs
- DataGridViewIntLinkedList.cs
- HostedTransportConfigurationManager.cs
- StringBlob.cs
- CheckBox.cs
- SymbolResolver.cs
- Util.cs
- ParameterBuilder.cs
- ThreadExceptionEvent.cs
- RotationValidation.cs
- SvcMapFileSerializer.cs
- AdapterUtil.cs
- ClientReliableChannelBinder.cs
- Timer.cs
- Registry.cs
- MenuTracker.cs
- RootProfilePropertySettingsCollection.cs
- TransactionFlowProperty.cs
- DataGridViewDataConnection.cs
- externdll.cs
- ListControlConvertEventArgs.cs
- ViewStateModeByIdAttribute.cs
- WebPartRestoreVerb.cs
- TouchesOverProperty.cs
- _emptywebproxy.cs
- DateTimeValueSerializerContext.cs
- FontNamesConverter.cs
- CookieProtection.cs
- IndentTextWriter.cs
- ListControlActionList.cs
- MetadataArtifactLoaderFile.cs
- CmsUtils.cs
- SendSecurityHeaderElementContainer.cs
- Help.cs
- EmptyStringExpandableObjectConverter.cs
- COAUTHIDENTITY.cs
- MenuBase.cs
- OutputChannelBinder.cs
- UriParserTemplates.cs
- MethodExpr.cs
- RIPEMD160.cs
- LinkClickEvent.cs
- UDPClient.cs
- CodeGenerator.cs
- FilteredDataSetHelper.cs
- StandardBindingImporter.cs
- DbConnectionPoolIdentity.cs
- ExtensionElementCollection.cs
- AccessViolationException.cs
- ExpressionVisitor.cs
- IisTraceWebEventProvider.cs
- BitmapSource.cs
- FormViewPagerRow.cs
- ToolStripDropDown.cs
- InterleavedZipPartStream.cs
- XPathSelfQuery.cs
- GiveFeedbackEvent.cs
- Wildcard.cs
- CodeBlockBuilder.cs
- ObfuscationAttribute.cs
- SafeFileHandle.cs
- EditorServiceContext.cs
- StrokeNodeData.cs
- ControlPager.cs
- RtfNavigator.cs
- ChainOfResponsibility.cs
- XamlPathDataSerializer.cs
- NameValueConfigurationCollection.cs
- InvokeProviderWrapper.cs
- TypeLibConverter.cs
- DataRelationCollection.cs
- DataGridViewDataConnection.cs
- PenContexts.cs
- LogEntryUtils.cs
- HttpRuntime.cs
- ProviderCollection.cs
- ObjectRef.cs
- DataSysAttribute.cs
- SmtpDigestAuthenticationModule.cs
- Sql8ExpressionRewriter.cs
- SRGSCompiler.cs
- RichTextBoxConstants.cs
- Win32.cs
- TreeNodeClickEventArgs.cs
- ToolStripItemClickedEventArgs.cs
- PerformanceCounterNameAttribute.cs
- userdatakeys.cs
- CounterCreationData.cs
- GroupAggregateExpr.cs
- KnownTypesHelper.cs
- ErrorWrapper.cs
- DataGridViewCheckBoxCell.cs
- ReliabilityContractAttribute.cs
- ProtocolViolationException.cs
- DataServiceKeyAttribute.cs