Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / Monitoring / system / Diagnosticts / MonitoringDescriptionAttribute.cs / 1305376 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ActivationWorker.cs
- reliableinputsessionchannel.cs
- Unit.cs
- ContentValidator.cs
- OneOfTypeConst.cs
- _LazyAsyncResult.cs
- PieceDirectory.cs
- CircleHotSpot.cs
- WsatConfiguration.cs
- WorkflowTransactionService.cs
- MappingMetadataHelper.cs
- XmlSubtreeReader.cs
- ComplexLine.cs
- ErrorFormatterPage.cs
- DataGridViewDataConnection.cs
- Mapping.cs
- SessionStateModule.cs
- XmlEntityReference.cs
- BitStream.cs
- SqlTrackingWorkflowInstance.cs
- Maps.cs
- AnonymousIdentificationSection.cs
- MexHttpBindingCollectionElement.cs
- AnnotationAdorner.cs
- JsonReaderWriterFactory.cs
- CoreSwitches.cs
- TraceSection.cs
- DataStreamFromComStream.cs
- SetterBaseCollection.cs
- Attributes.cs
- ColorMatrix.cs
- MimeFormReflector.cs
- DetailsViewDeletedEventArgs.cs
- SpnegoTokenProvider.cs
- OrderingInfo.cs
- _IPv6Address.cs
- DataObjectPastingEventArgs.cs
- ThicknessAnimation.cs
- Rights.cs
- SafeRightsManagementPubHandle.cs
- TextContainerChangeEventArgs.cs
- MetabaseServerConfig.cs
- SqlIdentifier.cs
- EventLogEntry.cs
- ScriptRegistrationManager.cs
- SubtreeProcessor.cs
- CodeDomLoader.cs
- OleDbException.cs
- ConfigurationLocationCollection.cs
- OracleTimeSpan.cs
- GenericIdentity.cs
- COM2PropertyDescriptor.cs
- ImageSourceValueSerializer.cs
- UrlAuthFailedErrorFormatter.cs
- QilTernary.cs
- ComplexTypeEmitter.cs
- RepeaterItem.cs
- HandlerBase.cs
- XmlText.cs
- DbExpressionVisitor_TResultType.cs
- Buffer.cs
- BitSet.cs
- DataSet.cs
- HttpModuleActionCollection.cs
- BitmapCacheBrush.cs
- BindingManagerDataErrorEventArgs.cs
- TypeDependencyAttribute.cs
- PeerNameRecordCollection.cs
- DbParameterCollection.cs
- ValidationErrorEventArgs.cs
- XmlCodeExporter.cs
- NumberSubstitution.cs
- SqlParameterCollection.cs
- ExtensionWindow.cs
- figurelengthconverter.cs
- Point.cs
- DatagridviewDisplayedBandsData.cs
- LogArchiveSnapshot.cs
- mactripleDES.cs
- SqlCommandSet.cs
- SafeWaitHandle.cs
- TemplateEditingService.cs
- StrokeFIndices.cs
- IPEndPoint.cs
- DocumentGridPage.cs
- XmlTextEncoder.cs
- CheckedListBox.cs
- ProxyWebPartManagerDesigner.cs
- ListView.cs
- ZipFileInfo.cs
- HttpPostClientProtocol.cs
- ProfileManager.cs
- RealProxy.cs
- XmlNamedNodeMap.cs
- TemporaryBitmapFile.cs
- NonSerializedAttribute.cs
- ObjectDataSourceEventArgs.cs
- QueryCursorEventArgs.cs
- XmlSerializerAssemblyAttribute.cs
- DataGridCell.cs