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
- DataSourceControl.cs
- LabelTarget.cs
- OracleInternalConnection.cs
- DynamicMethod.cs
- CompositeCollection.cs
- EventLogEntry.cs
- SubstitutionResponseElement.cs
- EdmComplexTypeAttribute.cs
- ObjectParameterCollection.cs
- DigitShape.cs
- GroupBoxRenderer.cs
- ExpressionVisitor.cs
- ApplicationFileCodeDomTreeGenerator.cs
- TreeIterators.cs
- Animatable.cs
- WebPageTraceListener.cs
- TransformedBitmap.cs
- StreamBodyWriter.cs
- Int32RectValueSerializer.cs
- OleDbConnection.cs
- HighlightVisual.cs
- ServiceNameElementCollection.cs
- ManagedIStream.cs
- ModelEditingScope.cs
- WebPartConnectionsEventArgs.cs
- Material.cs
- TextUtf8RawTextWriter.cs
- COM2IDispatchConverter.cs
- DeferredBinaryDeserializerExtension.cs
- BaseAsyncResult.cs
- ChildrenQuery.cs
- NetPeerTcpBindingCollectionElement.cs
- KeyFrames.cs
- CopyAction.cs
- CodeRemoveEventStatement.cs
- Point3DAnimation.cs
- RawKeyboardInputReport.cs
- Application.cs
- InvalidCastException.cs
- TypeDependencyAttribute.cs
- EdgeModeValidation.cs
- PolicyManager.cs
- AudioDeviceOut.cs
- DesignerCategoryAttribute.cs
- EditorOptionAttribute.cs
- CrossAppDomainChannel.cs
- BrowserCapabilitiesFactoryBase.cs
- DataGridBoolColumn.cs
- SaveWorkflowCommand.cs
- ComponentResourceKeyConverter.cs
- MeasurementDCInfo.cs
- EntityClientCacheEntry.cs
- MemberInitExpression.cs
- DefaultMergeHelper.cs
- ParameterDataSourceExpression.cs
- ExpressionTextBoxAutomationPeer.cs
- PropertyChangedEventManager.cs
- CalendarButton.cs
- BooleanKeyFrameCollection.cs
- DBSchemaTable.cs
- NullableLongAverageAggregationOperator.cs
- UriSection.cs
- XmlSchemaCollection.cs
- CodeAccessSecurityEngine.cs
- NativeRecognizer.cs
- DefinitionUpdate.cs
- ProfileModule.cs
- DomainConstraint.cs
- Enlistment.cs
- Rect3D.cs
- XmlAnyElementAttribute.cs
- PersianCalendar.cs
- WebControlParameterProxy.cs
- RenameRuleObjectDialog.cs
- AnimationClock.cs
- TreeNodeConverter.cs
- LassoHelper.cs
- DiscoveryClientChannelFactory.cs
- CommonDialog.cs
- FrameDimension.cs
- AppDomain.cs
- RegexStringValidatorAttribute.cs
- LogFlushAsyncResult.cs
- AutomationAttributeInfo.cs
- Message.cs
- NativeCompoundFileAPIs.cs
- SHA1CryptoServiceProvider.cs
- UnsafeNativeMethodsMilCoreApi.cs
- DesignSurfaceServiceContainer.cs
- AffineTransform3D.cs
- XmlObjectSerializer.cs
- DoubleKeyFrameCollection.cs
- ReflectTypeDescriptionProvider.cs
- XmlNodeChangedEventArgs.cs
- RelationshipConverter.cs
- ConfigXmlWhitespace.cs
- ProxyAssemblyNotLoadedException.cs
- TextEmbeddedObject.cs
- RequestCachePolicyConverter.cs
- MemoryRecordBuffer.cs