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
- ConnectionInterfaceCollection.cs
- DbConnectionPool.cs
- TimeZoneInfo.cs
- SamlAuthenticationClaimResource.cs
- TargetConverter.cs
- GeneralTransform2DTo3D.cs
- RegexWriter.cs
- TickBar.cs
- DockPattern.cs
- Ipv6Element.cs
- LogManagementAsyncResult.cs
- XmlAtomicValue.cs
- AutomationPatternInfo.cs
- Stack.cs
- CustomErrorCollection.cs
- IHttpResponseInternal.cs
- LinearKeyFrames.cs
- SimpleMailWebEventProvider.cs
- BevelBitmapEffect.cs
- CodeAttachEventStatement.cs
- CreateSequence.cs
- WebPartAddingEventArgs.cs
- HwndSource.cs
- CodeDOMUtility.cs
- AttachedPropertiesService.cs
- ControlAdapter.cs
- Privilege.cs
- PtsHost.cs
- GreenMethods.cs
- TrackBarRenderer.cs
- infer.cs
- DataGridHeaderBorder.cs
- UnauthorizedWebPart.cs
- SystemSounds.cs
- StringUtil.cs
- HttpRuntimeSection.cs
- CommandField.cs
- MetadataSource.cs
- ToolStripOverflow.cs
- EmptyImpersonationContext.cs
- ModuleBuilder.cs
- counter.cs
- TokenBasedSet.cs
- SerialReceived.cs
- DateTimeStorage.cs
- AssociationSetEnd.cs
- HebrewNumber.cs
- TrackingMemoryStream.cs
- relpropertyhelper.cs
- WorkflowPageSetupDialog.cs
- DocobjHost.cs
- SecurityManager.cs
- SQLGuidStorage.cs
- CodeCatchClause.cs
- IArgumentProvider.cs
- AspCompat.cs
- FlowLayoutSettings.cs
- ToolStripSeparator.cs
- BlobPersonalizationState.cs
- SessionStateModule.cs
- DSASignatureDeformatter.cs
- SapiRecognizer.cs
- ClientUrlResolverWrapper.cs
- DataException.cs
- DependsOnAttribute.cs
- AppDomain.cs
- XmlSerializerFactory.cs
- TraversalRequest.cs
- PriorityChain.cs
- PersonalizationProviderHelper.cs
- CodeIdentifier.cs
- Model3DGroup.cs
- CurrentTimeZone.cs
- Version.cs
- TraceProvider.cs
- TheQuery.cs
- ComboBoxRenderer.cs
- WebPartAddingEventArgs.cs
- DataErrorValidationRule.cs
- SecurityPermission.cs
- UserControlCodeDomTreeGenerator.cs
- ScrollEvent.cs
- TwoPhaseCommit.cs
- DoubleCollectionConverter.cs
- DesignSurfaceServiceContainer.cs
- DataSourceCacheDurationConverter.cs
- FieldAccessException.cs
- While.cs
- LogLogRecordEnumerator.cs
- DesignerAutoFormat.cs
- WebPartConnectionsCancelEventArgs.cs
- Size.cs
- SocketManager.cs
- PrefixQName.cs
- SafeNativeMethods.cs
- IdentityNotMappedException.cs
- XmlSerializationWriter.cs
- PresentationTraceSources.cs
- ResourceDictionary.cs
- ConnectionPoolManager.cs