Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Services / Timers / System / Timers / TimersDescriptionAttribute.cs / 1 / 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; } } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HttpServerVarsCollection.cs
- ToolStripRenderEventArgs.cs
- EmbeddedMailObject.cs
- CacheChildrenQuery.cs
- FunctionMappingTranslator.cs
- TextRangeEditLists.cs
- ResolveCriteriaApril2005.cs
- KeyNameIdentifierClause.cs
- BitmapEffectGroup.cs
- EditorZoneAutoFormat.cs
- ObfuscationAttribute.cs
- PointCollection.cs
- ISCIIEncoding.cs
- DriveInfo.cs
- CachingHintValidation.cs
- CookieProtection.cs
- WindowsFormsLinkLabel.cs
- Renderer.cs
- ReachSerializationCacheItems.cs
- Transform3DCollection.cs
- DynamicPropertyReader.cs
- ControlCollection.cs
- BigInt.cs
- DateTimeSerializationSection.cs
- ChangeProcessor.cs
- SafeFileMappingHandle.cs
- Transform3DGroup.cs
- DesignerHelpers.cs
- _RequestCacheProtocol.cs
- COM2TypeInfoProcessor.cs
- Missing.cs
- SqlCacheDependencySection.cs
- ToolTipService.cs
- DescendantOverDescendantQuery.cs
- PenLineCapValidation.cs
- TypeContext.cs
- SqlUdtInfo.cs
- Message.cs
- MasterPageParser.cs
- SelectorItemAutomationPeer.cs
- KeyConstraint.cs
- SiteMap.cs
- PlainXmlDeserializer.cs
- SupportsEventValidationAttribute.cs
- _DomainName.cs
- Grid.cs
- AttributeExtensions.cs
- MultipartContentParser.cs
- TextStore.cs
- securitycriticaldataformultiplegetandset.cs
- CurrencyManager.cs
- FixedPageStructure.cs
- HatchBrush.cs
- EntityDataReader.cs
- SmiGettersStream.cs
- ThreadStartException.cs
- ProcessHostMapPath.cs
- XsltLoader.cs
- ExtractedStateEntry.cs
- PointConverter.cs
- MenuItem.cs
- Action.cs
- UInt64.cs
- TemplateComponentConnector.cs
- DrawingContextDrawingContextWalker.cs
- IDictionary.cs
- CompareValidator.cs
- RowUpdatingEventArgs.cs
- BufferBuilder.cs
- RenderingEventArgs.cs
- ToolBar.cs
- SignedInfo.cs
- WindowsRegion.cs
- ContextInformation.cs
- OLEDB_Util.cs
- MessageBox.cs
- ServiceOperationParameter.cs
- TraceInternal.cs
- PeerTransportSecurityElement.cs
- COM2Properties.cs
- TreeViewAutomationPeer.cs
- HostedElements.cs
- FileDialogPermission.cs
- VarInfo.cs
- PersistenceTypeAttribute.cs
- WorkflowApplicationAbortedEventArgs.cs
- CompareInfo.cs
- wmiprovider.cs
- CuspData.cs
- CodeComment.cs
- WebPartUserCapability.cs
- DataBindingList.cs
- ReadOnlyNameValueCollection.cs
- DataGridViewBindingCompleteEventArgs.cs
- Drawing.cs
- SchemeSettingElement.cs
- XamlToRtfWriter.cs
- ServicePointManagerElement.cs
- TagPrefixAttribute.cs
- RedirectionProxy.cs