Code:
/ FX-1434 / FX-1434 / 1.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
- ColorMatrix.cs
- Object.cs
- SqlDataSource.cs
- ProtectedConfiguration.cs
- WeakRefEnumerator.cs
- UnsafeNativeMethods.cs
- XmlHierarchicalDataSourceView.cs
- ThreadExceptionEvent.cs
- CorrelationToken.cs
- InvokeGenerator.cs
- BrowserTree.cs
- UnsupportedPolicyOptionsException.cs
- AxDesigner.cs
- MarkerProperties.cs
- SchemaTypeEmitter.cs
- MultiBindingExpression.cs
- Soap11ServerProtocol.cs
- Pair.cs
- SystemThemeKey.cs
- Automation.cs
- DataSourceCollectionBase.cs
- TypeResolvingOptions.cs
- LoginUtil.cs
- LocalizableResourceBuilder.cs
- ToolboxItemCollection.cs
- Guid.cs
- CodeTypeReferenceCollection.cs
- GenerateHelper.cs
- unsafenativemethodsother.cs
- DataServiceClientException.cs
- ExceptionRoutedEventArgs.cs
- PrivacyNoticeBindingElement.cs
- PackageRelationshipCollection.cs
- Function.cs
- HostedAspNetEnvironment.cs
- TypeLoadException.cs
- StateDesignerConnector.cs
- FollowerQueueCreator.cs
- OuterGlowBitmapEffect.cs
- InputBinder.cs
- RangeValuePattern.cs
- ReferentialConstraint.cs
- BaseAsyncResult.cs
- PropertyToken.cs
- GeneralTransform2DTo3D.cs
- InputReportEventArgs.cs
- ExpressionList.cs
- QfeChecker.cs
- WebRequest.cs
- InvalidProgramException.cs
- CalendarAutoFormat.cs
- PropertyBuilder.cs
- FileInfo.cs
- InheritanceContextChangedEventManager.cs
- NonBatchDirectoryCompiler.cs
- XmlDocumentType.cs
- SchemaDeclBase.cs
- GridErrorDlg.cs
- ListItem.cs
- RelationalExpressions.cs
- StringFunctions.cs
- ServiceReflector.cs
- DispatcherHookEventArgs.cs
- Binding.cs
- ItemCollection.cs
- TextUtf8RawTextWriter.cs
- DocumentGrid.cs
- DataGridViewComponentPropertyGridSite.cs
- HttpResponseInternalBase.cs
- ToggleButtonAutomationPeer.cs
- Validator.cs
- CodeVariableDeclarationStatement.cs
- OperationExecutionFault.cs
- SystemPens.cs
- Section.cs
- SimpleFieldTemplateUserControl.cs
- TypeBuilder.cs
- ApplicationTrust.cs
- PolicyChain.cs
- AuthenticatedStream.cs
- ReadWriteObjectLock.cs
- PeerCustomResolverSettings.cs
- DurableRuntimeValidator.cs
- Context.cs
- XmlSubtreeReader.cs
- ContextMenuStrip.cs
- DbConnectionFactory.cs
- EntitySqlQueryCacheEntry.cs
- GridViewColumnHeaderAutomationPeer.cs
- XmlCountingReader.cs
- DiscriminatorMap.cs
- DoWorkEventArgs.cs
- ItemList.cs
- TimeManager.cs
- SelectionChangedEventArgs.cs
- XPathNodeInfoAtom.cs
- PersonalizationDictionary.cs
- Window.cs
- DuplicateMessageDetector.cs
- ActivityExecutionContext.cs