Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- WeakReferenceList.cs
- UserControl.cs
- IsolatedStorageException.cs
- ValueTypeFixupInfo.cs
- CodePageUtils.cs
- WeakReadOnlyCollection.cs
- ArrayConverter.cs
- PropertyTab.cs
- ErrorWebPart.cs
- SafeCertificateStore.cs
- ConstructorArgumentAttribute.cs
- EUCJPEncoding.cs
- ConfigXmlSignificantWhitespace.cs
- XmlDocumentSurrogate.cs
- DecoderNLS.cs
- ResizeGrip.cs
- HtmlButton.cs
- TraceSection.cs
- MatrixValueSerializer.cs
- UnmanagedBitmapWrapper.cs
- Serialization.cs
- ServiceModelConfigurationElementCollection.cs
- Cursors.cs
- QueryableDataSourceView.cs
- AstNode.cs
- FrameworkContextData.cs
- MemoryPressure.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- CommandDevice.cs
- OutputCacheProfile.cs
- MetabaseSettings.cs
- EntityDataSourceContainerNameConverter.cs
- IIS7UserPrincipal.cs
- NetSectionGroup.cs
- LocalBuilder.cs
- SizeFConverter.cs
- X509Certificate.cs
- UseManagedPresentationBindingElementImporter.cs
- ImpersonationContext.cs
- WasHttpModulesInstallComponent.cs
- GenericWebPart.cs
- FilterElement.cs
- DataGridItemCollection.cs
- DataViewListener.cs
- MultiBindingExpression.cs
- ValueTable.cs
- OdbcDataAdapter.cs
- EntityDataSourceUtil.cs
- DesignerDeviceConfig.cs
- Parameter.cs
- MultilineStringEditor.cs
- DeadCharTextComposition.cs
- EventLogPermissionEntry.cs
- ListViewSelectEventArgs.cs
- PaperSource.cs
- RealizationDrawingContextWalker.cs
- SqlServices.cs
- Monitor.cs
- PrivilegedConfigurationManager.cs
- DataGridViewCellStateChangedEventArgs.cs
- ConnectionConsumerAttribute.cs
- ByteRangeDownloader.cs
- SqlClientWrapperSmiStreamChars.cs
- GAC.cs
- PropertyContainer.cs
- JoinGraph.cs
- XmlQueryStaticData.cs
- WeakReferenceList.cs
- Activity.cs
- CommandEventArgs.cs
- SubMenuStyle.cs
- ToolStripStatusLabel.cs
- iisPickupDirectory.cs
- XmlNodeReader.cs
- SchemaImporterExtensionElement.cs
- SqlParameter.cs
- EditBehavior.cs
- ParseElementCollection.cs
- ConfigurationPropertyCollection.cs
- DomNameTable.cs
- Math.cs
- BufferManager.cs
- MsmqQueue.cs
- FixedBufferAttribute.cs
- AnnotationResourceChangedEventArgs.cs
- RequestCacheManager.cs
- MailAddressCollection.cs
- WindowsButton.cs
- IsolatedStorage.cs
- MethodBuilderInstantiation.cs
- DoubleUtil.cs
- ClientSettingsProvider.cs
- HostedTransportConfigurationManager.cs
- WindowsIPAddress.cs
- SqlDataSourceEnumerator.cs
- DbConnectionStringCommon.cs
- MessageQueueTransaction.cs
- ExpressionEditorAttribute.cs
- WinEventTracker.cs
- Window.cs