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
- ValidationErrorEventArgs.cs
- Tokenizer.cs
- AutoGeneratedField.cs
- LogLogRecordHeader.cs
- CollectionConverter.cs
- DBCSCodePageEncoding.cs
- DocumentGridContextMenu.cs
- Content.cs
- EmptyControlCollection.cs
- TableLayoutRowStyleCollection.cs
- DateTimeValueSerializer.cs
- SqlFunctionAttribute.cs
- login.cs
- RSAOAEPKeyExchangeDeformatter.cs
- DbConnectionInternal.cs
- TransformCryptoHandle.cs
- GroupDescription.cs
- Socket.cs
- OracleCommand.cs
- LoginView.cs
- CancellableEnumerable.cs
- SurrogateEncoder.cs
- XmlSerializableWriter.cs
- TraceHwndHost.cs
- CanonicalFontFamilyReference.cs
- DeviceContext.cs
- ColumnClickEvent.cs
- OleDbParameter.cs
- ResourceExpressionEditor.cs
- XmlIncludeAttribute.cs
- FlatButtonAppearance.cs
- DiscoveryDefaults.cs
- HttpCookie.cs
- BlockCollection.cs
- UndoEngine.cs
- Point3DValueSerializer.cs
- NetDataContractSerializer.cs
- FaultCallbackWrapper.cs
- ProgressPage.cs
- IndexedSelectQueryOperator.cs
- InfoCardSymmetricAlgorithm.cs
- UnsafeNativeMethods.cs
- PeerNameRecordCollection.cs
- DbResourceAllocator.cs
- HwndProxyElementProvider.cs
- AnnouncementSendsAsyncResult.cs
- CustomAttributeSerializer.cs
- GeneralTransform2DTo3D.cs
- Int16Animation.cs
- WebPartCatalogAddVerb.cs
- ScriptingRoleServiceSection.cs
- MessageContractMemberAttribute.cs
- DataKeyCollection.cs
- InvalidProgramException.cs
- ArrayConverter.cs
- HelpInfo.cs
- LocalizedNameDescriptionPair.cs
- EditingCoordinator.cs
- TypeBuilder.cs
- HostingEnvironment.cs
- RecommendedAsConfigurableAttribute.cs
- PersonalizationDictionary.cs
- TextChangedEventArgs.cs
- WebPermission.cs
- _ConnectionGroup.cs
- PaperSource.cs
- DataGridCell.cs
- SQLDecimal.cs
- XmlChildEnumerator.cs
- KeyPressEvent.cs
- WebBrowsableAttribute.cs
- XmlSchemaParticle.cs
- TextServicesDisplayAttribute.cs
- LinqToSqlWrapper.cs
- BasicDesignerLoader.cs
- LogicalExpr.cs
- AddInSegmentDirectoryNotFoundException.cs
- Subtree.cs
- TextDecorationUnitValidation.cs
- InternalConfigConfigurationFactory.cs
- MethodRental.cs
- SecureStringHasher.cs
- GradientSpreadMethodValidation.cs
- CodeMethodReturnStatement.cs
- UnicastIPAddressInformationCollection.cs
- DataTableReaderListener.cs
- DiscardableAttribute.cs
- validationstate.cs
- PropertyManager.cs
- StreamWriter.cs
- Util.cs
- ButtonChrome.cs
- FormsAuthenticationModule.cs
- BamlBinaryWriter.cs
- FlowPosition.cs
- SqlParameterCollection.cs
- UpdateInfo.cs
- UserNameSecurityToken.cs
- TaiwanLunisolarCalendar.cs
- FileDialog_Vista_Interop.cs