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
- BreakRecordTable.cs
- XmlBinaryWriter.cs
- SafeCryptContextHandle.cs
- QilIterator.cs
- GACIdentityPermission.cs
- ColorTransform.cs
- RegistryConfigurationProvider.cs
- SplitterEvent.cs
- FormViewDeletedEventArgs.cs
- WinEventHandler.cs
- xdrvalidator.cs
- OnOperation.cs
- CachedPathData.cs
- XmlSchemaInclude.cs
- Utilities.cs
- PackageRelationshipSelector.cs
- DocumentApplication.cs
- SafeRightsManagementHandle.cs
- MetadataArtifactLoader.cs
- FontSizeConverter.cs
- ColumnBinding.cs
- SessionParameter.cs
- ModelUIElement3D.cs
- SerializationFieldInfo.cs
- FieldBuilder.cs
- Run.cs
- DataTemplateSelector.cs
- DBNull.cs
- Attributes.cs
- MethodInfo.cs
- ConcurrentDictionary.cs
- Base64Stream.cs
- XmlReflectionMember.cs
- MouseButton.cs
- DbTypeMap.cs
- InnerItemCollectionView.cs
- SettingsBindableAttribute.cs
- XslCompiledTransform.cs
- XmlReturnReader.cs
- StateDesigner.cs
- BindingGraph.cs
- GroupQuery.cs
- XmlSchemaGroupRef.cs
- XmlSchemaElement.cs
- ResumeStoryboard.cs
- InstanceLockQueryResult.cs
- DelegateSerializationHolder.cs
- Int16AnimationUsingKeyFrames.cs
- recordstatefactory.cs
- DoWorkEventArgs.cs
- NodeLabelEditEvent.cs
- EdmConstants.cs
- DrawingContextDrawingContextWalker.cs
- XmlParserContext.cs
- PenContexts.cs
- MemberInfoSerializationHolder.cs
- VarRefManager.cs
- JsonWriter.cs
- XamlPathDataSerializer.cs
- ProviderSettings.cs
- SqlCacheDependencyDatabaseCollection.cs
- ProxyHelper.cs
- QueryNode.cs
- ControlAdapter.cs
- PersonalizationDictionary.cs
- MissingMemberException.cs
- DataServiceException.cs
- EventLogEntry.cs
- CommonGetThemePartSize.cs
- BufferedWebEventProvider.cs
- MethodImplAttribute.cs
- ObjectToIdCache.cs
- TagPrefixInfo.cs
- NavigationPropertySingletonExpression.cs
- WebPartConnectionsDisconnectVerb.cs
- ClientSettingsStore.cs
- GZipUtils.cs
- CollectionEditor.cs
- ShapeTypeface.cs
- Model3D.cs
- WebBrowserSiteBase.cs
- GridViewEditEventArgs.cs
- UdpDiscoveryEndpoint.cs
- DataTableClearEvent.cs
- ResXFileRef.cs
- OleDragDropHandler.cs
- TemplateControl.cs
- KerberosReceiverSecurityToken.cs
- RenderingEventArgs.cs
- ExpressionWriter.cs
- SafeNativeMethods.cs
- PageVisual.cs
- RuntimeArgumentHandle.cs
- LogPolicy.cs
- ProcessProtocolHandler.cs
- _HelperAsyncResults.cs
- PartDesigner.cs
- CatalogZone.cs
- ObjectNotFoundException.cs
- MetadataPropertyCollection.cs