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
- CompatibleComparer.cs
- ImageDrawing.cs
- Control.cs
- KeyValueConfigurationElement.cs
- RegexCompiler.cs
- LingerOption.cs
- RequestNavigateEventArgs.cs
- DragDropManager.cs
- NumericUpDown.cs
- LineProperties.cs
- CaretElement.cs
- DocumentSchemaValidator.cs
- ImageCodecInfoPrivate.cs
- HTTPAPI_VERSION.cs
- HwndSubclass.cs
- CodeObject.cs
- AutomationPatternInfo.cs
- DocumentViewerBaseAutomationPeer.cs
- Exceptions.cs
- Style.cs
- WebPartEventArgs.cs
- DesignerSerializationOptionsAttribute.cs
- SafeRegistryHandle.cs
- DefaultMemberAttribute.cs
- _HTTPDateParse.cs
- ListViewGroupCollectionEditor.cs
- SimplePropertyEntry.cs
- CaseCqlBlock.cs
- NameScopePropertyAttribute.cs
- milrender.cs
- MarkupExtensionParser.cs
- FastPropertyAccessor.cs
- EventProperty.cs
- IgnoreFileBuildProvider.cs
- Boolean.cs
- DBPropSet.cs
- RadioButtonBaseAdapter.cs
- BulletedListEventArgs.cs
- DecoderExceptionFallback.cs
- MetadataCollection.cs
- Speller.cs
- ObjectContext.cs
- FactoryGenerator.cs
- SqlBuilder.cs
- ParserContext.cs
- TemplateBuilder.cs
- XPathAncestorQuery.cs
- MethodCallExpression.cs
- DbProviderFactoriesConfigurationHandler.cs
- _AutoWebProxyScriptWrapper.cs
- CodeChecksumPragma.cs
- HttpVersion.cs
- ObjectPersistData.cs
- AttachedPropertiesService.cs
- DefaultParameterValueAttribute.cs
- UntrustedRecipientException.cs
- CurrencyWrapper.cs
- Console.cs
- FileChangesMonitor.cs
- InfocardClientCredentials.cs
- Renderer.cs
- SafePointer.cs
- DetailsViewInsertEventArgs.cs
- AnnotationObservableCollection.cs
- XmlLanguage.cs
- HttpInputStream.cs
- InternalTypeHelper.cs
- StringUtil.cs
- TextBoxBase.cs
- ContentAlignmentEditor.cs
- RectKeyFrameCollection.cs
- HttpApplication.cs
- base64Transforms.cs
- SqlDataRecord.cs
- CryptoApi.cs
- CodeVariableDeclarationStatement.cs
- RepeaterItemCollection.cs
- ErrorProvider.cs
- EtwTrace.cs
- SHA512Managed.cs
- XmlSchemaGroup.cs
- ADConnectionHelper.cs
- ClientType.cs
- ToolStripItemEventArgs.cs
- HttpProcessUtility.cs
- SwitchLevelAttribute.cs
- SystemShuttingDownException.cs
- XmlMtomWriter.cs
- PipeException.cs
- ContentPlaceHolder.cs
- FormatConvertedBitmap.cs
- MimeObjectFactory.cs
- MessageDecoder.cs
- MethodRental.cs
- SiblingIterators.cs
- TextPattern.cs
- ToolStripItem.cs
- Geometry.cs
- WebPartDescriptionCollection.cs
- HtmlContainerControl.cs