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
- FormViewPageEventArgs.cs
- DbMetaDataCollectionNames.cs
- EventPropertyMap.cs
- CodeParameterDeclarationExpression.cs
- Point.cs
- ConnectionManagementElement.cs
- PathSegment.cs
- InstanceDataCollectionCollection.cs
- ColumnClickEvent.cs
- StyleConverter.cs
- CalendarData.cs
- DefaultPrintController.cs
- DataGridViewSelectedRowCollection.cs
- LoadGrammarCompletedEventArgs.cs
- CustomSignedXml.cs
- LessThan.cs
- SerializationEventsCache.cs
- CngProvider.cs
- webclient.cs
- DataSourceSelectArguments.cs
- SubpageParaClient.cs
- SetIterators.cs
- LocalClientSecuritySettings.cs
- TypeConverterValueSerializer.cs
- FormParameter.cs
- NonPrimarySelectionGlyph.cs
- ComponentResourceKeyConverter.cs
- Comparer.cs
- AlignmentXValidation.cs
- FlowLayoutSettings.cs
- Int32AnimationBase.cs
- FocusTracker.cs
- GenericIdentity.cs
- FixedDocumentPaginator.cs
- DomNameTable.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- ArrangedElementCollection.cs
- BaseResourcesBuildProvider.cs
- AppSettings.cs
- SqlUserDefinedTypeAttribute.cs
- KeyedCollection.cs
- PolicyException.cs
- RegexTree.cs
- ReachFixedPageSerializer.cs
- DbProviderServices.cs
- RegexGroupCollection.cs
- WrappedIUnknown.cs
- ObjectViewFactory.cs
- coordinator.cs
- DataGridViewColumnConverter.cs
- RegexCompiler.cs
- ValidatedControlConverter.cs
- TypedElement.cs
- HMACMD5.cs
- OrderedHashRepartitionEnumerator.cs
- MediaElement.cs
- ColorBlend.cs
- StatusBarDrawItemEvent.cs
- FontStyleConverter.cs
- FontStretches.cs
- DispatcherExceptionEventArgs.cs
- Binding.cs
- CompiledRegexRunner.cs
- isolationinterop.cs
- RuleProcessor.cs
- SQLDouble.cs
- ProgressBar.cs
- ReflectionPermission.cs
- GetPageNumberCompletedEventArgs.cs
- PersistenceProviderFactory.cs
- ValueTable.cs
- ServiceModelPerformanceCounters.cs
- webeventbuffer.cs
- DeferredElementTreeState.cs
- RSAPKCS1SignatureFormatter.cs
- ContainsRowNumberChecker.cs
- SessionStateSection.cs
- SqlAggregateChecker.cs
- MultiBindingExpression.cs
- InstalledVoice.cs
- ZipIOExtraFieldZip64Element.cs
- util.cs
- SoapAttributeAttribute.cs
- BrowserInteropHelper.cs
- DuplicateContext.cs
- ViewGenerator.cs
- UnsafeNativeMethods.cs
- NullRuntimeConfig.cs
- BatchWriter.cs
- ListItemConverter.cs
- MemberListBinding.cs
- StylesEditorDialog.cs
- BeginStoryboard.cs
- KeyTime.cs
- RtfControls.cs
- ArgumentNullException.cs
- XsltCompileContext.cs
- Trace.cs
- ProfileSettings.cs
- WebBrowserNavigatedEventHandler.cs