Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- QilXmlWriter.cs
- CommonServiceBehaviorElement.cs
- UdpAnnouncementEndpoint.cs
- BindingValueChangedEventArgs.cs
- ChtmlTextWriter.cs
- VariantWrapper.cs
- XslUrlEditor.cs
- LineSegment.cs
- RowUpdatedEventArgs.cs
- GlyphsSerializer.cs
- ImageCodecInfoPrivate.cs
- XmlExtensionFunction.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- VectorAnimation.cs
- DefaultProxySection.cs
- RuntimeIdentifierPropertyAttribute.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- VSWCFServiceContractGenerator.cs
- InputProcessorProfilesLoader.cs
- DeflateStream.cs
- SqlFileStream.cs
- SecondaryViewProvider.cs
- M3DUtil.cs
- ProxyHelper.cs
- GraphicsContext.cs
- FixedDocumentPaginator.cs
- Lease.cs
- XamlReaderConstants.cs
- ValueSerializer.cs
- QueryOpeningEnumerator.cs
- XmlDocumentFragment.cs
- RequestCachePolicyConverter.cs
- ZipFileInfoCollection.cs
- BufferedGraphicsManager.cs
- CreateUserWizard.cs
- CollectionsUtil.cs
- ImageSourceTypeConverter.cs
- TypeConstant.cs
- XamlToRtfWriter.cs
- InfoCardRSAOAEPKeyExchangeDeformatter.cs
- PropagatorResult.cs
- FileAuthorizationModule.cs
- HTTPNotFoundHandler.cs
- WindowsPrincipal.cs
- TransformPatternIdentifiers.cs
- PingReply.cs
- FixedHighlight.cs
- ExpandCollapsePattern.cs
- SqlParameter.cs
- WebPartManagerDesigner.cs
- ExpressionBindingCollection.cs
- TextEditorTyping.cs
- ExecutionProperties.cs
- Baml2006ReaderContext.cs
- MembershipUser.cs
- ProxySimple.cs
- TextRange.cs
- C14NUtil.cs
- DbProviderFactory.cs
- AutomationPropertyInfo.cs
- CompiledQueryCacheKey.cs
- SamlAuthenticationClaimResource.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- Listbox.cs
- CultureMapper.cs
- OdbcCommandBuilder.cs
- PermissionListSet.cs
- IncomingWebRequestContext.cs
- MenuRendererClassic.cs
- ListViewDeleteEventArgs.cs
- CrossAppDomainChannel.cs
- RouteParametersHelper.cs
- EntityContainerRelationshipSetEnd.cs
- UIntPtr.cs
- DataSetMappper.cs
- DataGridViewCellStyleConverter.cs
- ScrollViewerAutomationPeer.cs
- IntSecurity.cs
- ConstraintCollection.cs
- DrawingContext.cs
- MILUtilities.cs
- EventPropertyMap.cs
- BehaviorService.cs
- Events.cs
- RootProfilePropertySettingsCollection.cs
- ClientSettingsStore.cs
- SupportsEventValidationAttribute.cs
- XComponentModel.cs
- DbMetaDataColumnNames.cs
- DataSourceHelper.cs
- XmlSerializerFaultFormatter.cs
- XamlStream.cs
- XPathParser.cs
- ArrayTypeMismatchException.cs
- SchemaDeclBase.cs
- SqlError.cs
- TypeUsage.cs
- FileRecordSequenceCompletedAsyncResult.cs
- Span.cs
- StreamingContext.cs