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
- DataGridColumnHeaderItemAutomationPeer.cs
- HebrewNumber.cs
- ToolBarPanel.cs
- Metadata.cs
- ValueChangedEventManager.cs
- SystemIPv6InterfaceProperties.cs
- RsaKeyGen.cs
- WebPartConnectionsConnectVerb.cs
- TraceSwitch.cs
- TextServicesCompartmentEventSink.cs
- RequestBringIntoViewEventArgs.cs
- ScrollData.cs
- CryptoKeySecurity.cs
- Int32Storage.cs
- SupportsEventValidationAttribute.cs
- DockPatternIdentifiers.cs
- OleDbStruct.cs
- SpeechSeg.cs
- HttpInputStream.cs
- LayoutEngine.cs
- AuthenticationModuleElementCollection.cs
- XPathAncestorIterator.cs
- OleDbInfoMessageEvent.cs
- X509CertificateValidator.cs
- StringWriter.cs
- WebHttpBindingCollectionElement.cs
- ElasticEase.cs
- ByteStream.cs
- TiffBitmapEncoder.cs
- SessionEndedEventArgs.cs
- WorkflowApplication.cs
- QuaternionRotation3D.cs
- Crc32.cs
- SafeProcessHandle.cs
- WebDisplayNameAttribute.cs
- Image.cs
- ConfigurationElement.cs
- Pair.cs
- MessageDroppedTraceRecord.cs
- HitTestWithGeometryDrawingContextWalker.cs
- RelatedImageListAttribute.cs
- EventSourceCreationData.cs
- QilInvoke.cs
- DoubleCollectionConverter.cs
- AxImporter.cs
- BuildManagerHost.cs
- DeferredSelectedIndexReference.cs
- FileSystemWatcher.cs
- WebPartEditorOkVerb.cs
- ArgumentException.cs
- SliderAutomationPeer.cs
- DefaultValueConverter.cs
- SamlSecurityTokenAuthenticator.cs
- PropertySourceInfo.cs
- ToolStripArrowRenderEventArgs.cs
- EventSinkHelperWriter.cs
- ToolStripSeparator.cs
- FileAuthorizationModule.cs
- WebBaseEventKeyComparer.cs
- CommandHelpers.cs
- ContainerSelectorActiveEvent.cs
- Unit.cs
- FilteredXmlReader.cs
- EventListenerClientSide.cs
- EventLogPermissionHolder.cs
- ProxyWebPartManager.cs
- FrugalMap.cs
- SiteMapProvider.cs
- Odbc32.cs
- WebSysDescriptionAttribute.cs
- SchemaImporterExtensionElement.cs
- ArcSegment.cs
- SoapCodeExporter.cs
- HandlerFactoryCache.cs
- CursorInteropHelper.cs
- _FixedSizeReader.cs
- WebPartConnectionsDisconnectVerb.cs
- VoiceInfo.cs
- TabControlCancelEvent.cs
- ComponentCache.cs
- SystemWebSectionGroup.cs
- OperatorExpressions.cs
- WebBrowserUriTypeConverter.cs
- XmlTextReaderImplHelpers.cs
- SymmetricSecurityProtocolFactory.cs
- ToolStripSettings.cs
- SecurityHelper.cs
- MatrixKeyFrameCollection.cs
- JsonQueryStringConverter.cs
- IPGlobalProperties.cs
- XmlChildNodes.cs
- MouseEvent.cs
- StateDesigner.CommentLayoutGlyph.cs
- BitmapEffectRenderDataResource.cs
- InvalidProgramException.cs
- DataGridTablesFactory.cs
- MimeFormReflector.cs
- LinearGradientBrush.cs
- PropertyChangeTracker.cs
- SafeThreadHandle.cs