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
- ViewDesigner.cs
- SeverityFilter.cs
- TransformValueSerializer.cs
- ProfileInfo.cs
- ObsoleteAttribute.cs
- rsa.cs
- dataprotectionpermissionattribute.cs
- ForwardPositionQuery.cs
- SimpleBitVector32.cs
- MetabaseServerConfig.cs
- SqlNodeTypeOperators.cs
- DataAdapter.cs
- DataColumnMappingCollection.cs
- ListViewItemMouseHoverEvent.cs
- StickyNoteContentControl.cs
- WmlLabelAdapter.cs
- PropertyDescriptorCollection.cs
- ExportOptions.cs
- DecimalAnimationUsingKeyFrames.cs
- DateTime.cs
- SqlMethodAttribute.cs
- DataGridCellEditEndingEventArgs.cs
- ChildDocumentBlock.cs
- ToolStripArrowRenderEventArgs.cs
- TextChangedEventArgs.cs
- DecimalConverter.cs
- XsdBuildProvider.cs
- DodSequenceMerge.cs
- MaterialCollection.cs
- CaseInsensitiveHashCodeProvider.cs
- EncoderExceptionFallback.cs
- ColumnCollection.cs
- DiagnosticSection.cs
- PropertyKey.cs
- ComponentChangedEvent.cs
- StyleSelector.cs
- _NegoState.cs
- ConfigurationValues.cs
- WebDisplayNameAttribute.cs
- FormsAuthenticationUserCollection.cs
- MasterPageCodeDomTreeGenerator.cs
- PowerStatus.cs
- MetadataArtifactLoaderCompositeFile.cs
- WhitespaceRuleLookup.cs
- BrowserDefinitionCollection.cs
- DataControlPagerLinkButton.cs
- ThreadBehavior.cs
- ApplicationException.cs
- TagPrefixCollection.cs
- CrossContextChannel.cs
- BitmapEffectInputConnector.cs
- TdsParameterSetter.cs
- CalendarButtonAutomationPeer.cs
- XamlFilter.cs
- XNodeNavigator.cs
- HtmlElementCollection.cs
- SQLDateTime.cs
- WindowsTooltip.cs
- DataServiceProviderMethods.cs
- BufferedStream.cs
- SmtpNetworkElement.cs
- AutomationIdentifierGuids.cs
- invalidudtexception.cs
- GPPOINTF.cs
- Rijndael.cs
- SchemaHelper.cs
- DynamicMethod.cs
- TableCellCollection.cs
- ColorTransformHelper.cs
- MetadataWorkspace.cs
- XmlAtomicValue.cs
- SelectionWordBreaker.cs
- UriWriter.cs
- UiaCoreTypesApi.cs
- CodeTypeReferenceSerializer.cs
- PageRequestManager.cs
- LinearKeyFrames.cs
- Int32AnimationUsingKeyFrames.cs
- TraceUtils.cs
- BrushMappingModeValidation.cs
- FrameworkContentElement.cs
- Accessible.cs
- HtmlFormWrapper.cs
- recordstatescratchpad.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- LogicalExpr.cs
- MonthCalendar.cs
- OrderingExpression.cs
- PartialCachingControl.cs
- WebBrowserUriTypeConverter.cs
- ProxyHwnd.cs
- FormsAuthenticationUserCollection.cs
- CompatibleIComparer.cs
- FontClient.cs
- ServiceMetadataContractBehavior.cs
- SystemColors.cs
- GestureRecognizer.cs
- PermissionAttributes.cs
- SwitchElementsCollection.cs
- XmlChildEnumerator.cs