Code:
/ 4.0 / 4.0 / 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. //------------------------------------------------------------------------------ //// 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
- CodeRemoveEventStatement.cs
- SQlBooleanStorage.cs
- SqlUserDefinedAggregateAttribute.cs
- LinkedResource.cs
- ErrorInfoXmlDocument.cs
- WebPartTracker.cs
- QilParameter.cs
- WebPartUtil.cs
- WebPartEventArgs.cs
- BulletedListEventArgs.cs
- ConfigurationManagerInternalFactory.cs
- DoubleKeyFrameCollection.cs
- HtmlEncodedRawTextWriter.cs
- BatchParser.cs
- CatchBlock.cs
- RepeatButtonAutomationPeer.cs
- TransactionInformation.cs
- GenericFlowSwitchHelper.cs
- DataGridSortCommandEventArgs.cs
- DataPagerFieldCollection.cs
- CheckBoxRenderer.cs
- GeometryValueSerializer.cs
- XmlValueConverter.cs
- MenuCommands.cs
- FloaterParagraph.cs
- CustomAssemblyResolver.cs
- CommandLibraryHelper.cs
- MetadataItemCollectionFactory.cs
- DLinqAssociationProvider.cs
- AtlasWeb.Designer.cs
- IndividualDeviceConfig.cs
- Psha1DerivedKeyGenerator.cs
- BrowserDefinition.cs
- MD5.cs
- EntryPointNotFoundException.cs
- MarkupCompiler.cs
- CustomAttributeFormatException.cs
- DataGridViewTextBoxEditingControl.cs
- SafeRightsManagementHandle.cs
- RNGCryptoServiceProvider.cs
- SR.cs
- ClientSideProviderDescription.cs
- PackUriHelper.cs
- ClientTargetSection.cs
- ReflectionTypeLoadException.cs
- AssemblyResourceLoader.cs
- MexBindingElement.cs
- DataGridViewLinkColumn.cs
- IntPtr.cs
- InheritanceContextChangedEventManager.cs
- TableLayoutColumnStyleCollection.cs
- GeneralTransform3DGroup.cs
- FeedUtils.cs
- SelectionGlyph.cs
- HttpBindingExtension.cs
- FixUpCollection.cs
- WindowsRebar.cs
- WorkflowViewElement.cs
- DataGridViewRowHeaderCell.cs
- CodeAttachEventStatement.cs
- X509Certificate2.cs
- XmlLinkedNode.cs
- TextBox.cs
- BitmapEffect.cs
- Splitter.cs
- EventLogPermissionHolder.cs
- DataGridAutomationPeer.cs
- ForeignConstraint.cs
- SmtpNegotiateAuthenticationModule.cs
- GZipDecoder.cs
- RangeContentEnumerator.cs
- TableHeaderCell.cs
- URLIdentityPermission.cs
- PeerNameRecordCollection.cs
- TextEffect.cs
- ADRoleFactoryConfiguration.cs
- TypeValidationEventArgs.cs
- DesignerTransaction.cs
- Socket.cs
- CaseExpr.cs
- MULTI_QI.cs
- InvalidPrinterException.cs
- SrgsElementList.cs
- OutputWindow.cs
- JsonObjectDataContract.cs
- ParameterCollection.cs
- InstanceKeyView.cs
- RecognizedAudio.cs
- StrokeCollection2.cs
- WindowsRichEditRange.cs
- DatePickerTextBox.cs
- FontClient.cs
- AccessDataSource.cs
- CodeMemberField.cs
- odbcmetadatacolumnnames.cs
- X509Extension.cs
- ContainerParaClient.cs
- HttpException.cs
- ChannelReliableSession.cs
- baseaxisquery.cs