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
- TextServicesContext.cs
- PrePostDescendentsWalker.cs
- PageHandlerFactory.cs
- SerialStream.cs
- RenderContext.cs
- SmtpTransport.cs
- AutoGeneratedField.cs
- GroupByExpressionRewriter.cs
- RequestNavigateEventArgs.cs
- FormViewUpdateEventArgs.cs
- SQLBytes.cs
- TabControlAutomationPeer.cs
- WebException.cs
- PolicyStatement.cs
- OdbcUtils.cs
- SignedInfo.cs
- QilFactory.cs
- UrlMappingsSection.cs
- OdbcConnectionHandle.cs
- BuildProvider.cs
- DefaultWorkflowTransactionService.cs
- SmiSettersStream.cs
- SimpleMailWebEventProvider.cs
- EntityContainerRelationshipSetEnd.cs
- Transactions.cs
- SQLInt16.cs
- FigureParagraph.cs
- SerializationTrace.cs
- GuidTagList.cs
- TagPrefixInfo.cs
- WorkflowViewStateService.cs
- ObjectFullSpanRewriter.cs
- PropertyExpression.cs
- StateRuntime.cs
- DataChangedEventManager.cs
- ToolStripRenderEventArgs.cs
- SaveWorkflowCommand.cs
- CachedRequestParams.cs
- dbdatarecord.cs
- EntityDataSourceWizardForm.cs
- SqlDataSourceFilteringEventArgs.cs
- dbdatarecord.cs
- PublisherMembershipCondition.cs
- sortedlist.cs
- ContextMenuStrip.cs
- QuaternionKeyFrameCollection.cs
- WebPartUserCapability.cs
- AsyncDataRequest.cs
- DataListItemCollection.cs
- FlowDocumentPage.cs
- input.cs
- TypeBuilder.cs
- SortableBindingList.cs
- ControlPaint.cs
- CanonicalFontFamilyReference.cs
- FieldAccessException.cs
- BevelBitmapEffect.cs
- ArglessEventHandlerProxy.cs
- DockingAttribute.cs
- LinqDataSourceHelper.cs
- CacheForPrimitiveTypes.cs
- InputScopeManager.cs
- CalendarDesigner.cs
- MyContact.cs
- DataGridAutoFormat.cs
- ReflectTypeDescriptionProvider.cs
- HttpModuleCollection.cs
- WindowsSecurityTokenAuthenticator.cs
- EmbeddedMailObjectsCollection.cs
- NavigatorInput.cs
- EraserBehavior.cs
- ToolStripRendererSwitcher.cs
- PerformanceCounterLib.cs
- ProvidersHelper.cs
- PermissionToken.cs
- OptimisticConcurrencyException.cs
- InputMethodStateTypeInfo.cs
- SamlConditions.cs
- DataServiceSaveChangesEventArgs.cs
- FixedHighlight.cs
- TrustManagerPromptUI.cs
- UriTemplateTrieNode.cs
- RangeValuePattern.cs
- BindingObserver.cs
- DataGridViewLinkCell.cs
- Color.cs
- MouseGesture.cs
- StorageRoot.cs
- SecurityManager.cs
- Filter.cs
- DbDataSourceEnumerator.cs
- TreeNodeBinding.cs
- LassoHelper.cs
- JoinElimination.cs
- XmlSchemaCompilationSettings.cs
- ISO2022Encoding.cs
- ProjectionCamera.cs
- SqlUtils.cs
- AnnotationHelper.cs
- DataPager.cs