Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / Timers / System / Timers / TimersDescriptionAttribute.cs / 1305376 / TimersDescriptionAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Timers{ 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 TimersDescriptionAttribute : DescriptionAttribute { private bool replaced = false; ////// Constructs a new sys description. /// public TimersDescriptionAttribute(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
- MimeMultiPart.cs
- PageCache.cs
- HttpHeaderCollection.cs
- PropertyEmitter.cs
- BinaryObjectInfo.cs
- MatrixAnimationUsingKeyFrames.cs
- DBBindings.cs
- UnicodeEncoding.cs
- ParseNumbers.cs
- SQLInt64.cs
- SwitchLevelAttribute.cs
- EntitySqlQueryCacheKey.cs
- WebRequest.cs
- KeyEventArgs.cs
- PageStatePersister.cs
- Geometry.cs
- RijndaelManagedTransform.cs
- UnsupportedPolicyOptionsException.cs
- Int64Storage.cs
- ResourceDescriptionAttribute.cs
- KeyInterop.cs
- XmlCharCheckingWriter.cs
- DataGridViewRowEventArgs.cs
- ThemeableAttribute.cs
- TemplateKeyConverter.cs
- SqlWebEventProvider.cs
- InkCanvasSelectionAdorner.cs
- EntityDataSourceConfigureObjectContext.cs
- Transaction.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- ValueProviderWrapper.cs
- __Error.cs
- UriSectionReader.cs
- Scene3D.cs
- ProgressBarHighlightConverter.cs
- ForeignConstraint.cs
- FusionWrap.cs
- ResXResourceSet.cs
- ComNativeDescriptor.cs
- ToolStripProgressBar.cs
- Accessible.cs
- XhtmlConformanceSection.cs
- DesigntimeLicenseContextSerializer.cs
- NamedPipeTransportElement.cs
- XamlFilter.cs
- SemanticResolver.cs
- BamlRecordHelper.cs
- XmlNamedNodeMap.cs
- DataGridViewComboBoxEditingControl.cs
- RemotingServices.cs
- Queue.cs
- ObjectSet.cs
- DataGridAutoFormatDialog.cs
- XmlTextReaderImpl.cs
- WindowsGraphicsWrapper.cs
- TrackingConditionCollection.cs
- DispatchWrapper.cs
- GeneralTransform3DGroup.cs
- SQLGuid.cs
- DataGridViewElement.cs
- ChtmlTextWriter.cs
- CanonicalXml.cs
- NavigationHelper.cs
- newinstructionaction.cs
- WizardStepBase.cs
- EncodingDataItem.cs
- UTF32Encoding.cs
- CharacterBufferReference.cs
- TreeNodeStyleCollection.cs
- _IPv6Address.cs
- WinCategoryAttribute.cs
- KeyGestureConverter.cs
- DesignerVerbCollection.cs
- XmlSiteMapProvider.cs
- ToolStripPanelRenderEventArgs.cs
- GridViewDeleteEventArgs.cs
- XmlLanguageConverter.cs
- SeverityFilter.cs
- BaseTypeViewSchema.cs
- ActivityExecutionFilter.cs
- OrderPreservingPipeliningSpoolingTask.cs
- LayoutDump.cs
- SqlInternalConnection.cs
- Function.cs
- Int32KeyFrameCollection.cs
- TransformerConfigurationWizardBase.cs
- FillErrorEventArgs.cs
- XmlCountingReader.cs
- PermissionToken.cs
- EventLogPermission.cs
- EntityDataSourceState.cs
- HMACSHA512.cs
- RelatedEnd.cs
- PathTooLongException.cs
- LinqDataSourceStatusEventArgs.cs
- ProcessHostServerConfig.cs
- ObjectDataSourceChooseMethodsPanel.cs
- GlobalizationAssembly.cs
- Publisher.cs
- BidirectionalDictionary.cs