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
- EventQueueState.cs
- SqlNodeAnnotations.cs
- SqlDataSource.cs
- DbParameterCollectionHelper.cs
- TemplateBindingExpressionConverter.cs
- DiscardableAttribute.cs
- DispatchChannelSink.cs
- ComPlusServiceHost.cs
- StateManagedCollection.cs
- FrameworkElementFactory.cs
- SqlDataSourceParameterParser.cs
- UpdatePanelTrigger.cs
- PassportIdentity.cs
- DataGridViewCellStyleConverter.cs
- DockPatternIdentifiers.cs
- KeyValueConfigurationElement.cs
- Exceptions.cs
- ErrorRuntimeConfig.cs
- ReflectionTypeLoadException.cs
- CodeCastExpression.cs
- WeakHashtable.cs
- TextDecorationCollection.cs
- SrgsElement.cs
- ViewStateChangedEventArgs.cs
- MenuItemBinding.cs
- HorizontalAlignConverter.cs
- Version.cs
- SupportingTokenSpecification.cs
- DBPropSet.cs
- WebPartDisplayMode.cs
- DiffuseMaterial.cs
- KeyValueConfigurationCollection.cs
- ADMembershipProvider.cs
- RSAOAEPKeyExchangeFormatter.cs
- SoapEnumAttribute.cs
- PixelShader.cs
- Debug.cs
- UpdateRecord.cs
- FixedSOMPage.cs
- ModuleConfigurationInfo.cs
- ToolStripContentPanelRenderEventArgs.cs
- HttpModuleCollection.cs
- CollectionContainer.cs
- basecomparevalidator.cs
- CompiledRegexRunner.cs
- OleDbParameter.cs
- IndexingContentUnit.cs
- ParallelTimeline.cs
- BitmapEffectInputConnector.cs
- Animatable.cs
- SymbolMethod.cs
- Win32Interop.cs
- _HelperAsyncResults.cs
- LockCookie.cs
- MessageDispatch.cs
- StandardToolWindows.cs
- InertiaRotationBehavior.cs
- CmsUtils.cs
- XmlILOptimizerVisitor.cs
- RemoteWebConfigurationHost.cs
- ActivityPropertyReference.cs
- TextTabProperties.cs
- LayoutUtils.cs
- DataGrid.cs
- SelectionProviderWrapper.cs
- EventLogLink.cs
- RawTextInputReport.cs
- EpmContentDeSerializer.cs
- DesignerActionItemCollection.cs
- TemplateBamlRecordReader.cs
- TimeSpanValidatorAttribute.cs
- ArraySet.cs
- SettingsBindableAttribute.cs
- cache.cs
- SmiGettersStream.cs
- InvokeProviderWrapper.cs
- ProviderConnectionPoint.cs
- DefinitionBase.cs
- Highlights.cs
- TypedTableGenerator.cs
- LinqDataSourceContextEventArgs.cs
- securitycriticaldataClass.cs
- ResourcesChangeInfo.cs
- ThemeDictionaryExtension.cs
- SafeThreadHandle.cs
- FileUtil.cs
- MessagePropertyVariants.cs
- WaitForChangedResult.cs
- XmlLoader.cs
- MobileErrorInfo.cs
- securitycriticaldataformultiplegetandset.cs
- PermissionListSet.cs
- ValidatorAttribute.cs
- ComplusEndpointConfigContainer.cs
- SymbolEqualComparer.cs
- ZipArchive.cs
- returneventsaver.cs
- RequestBringIntoViewEventArgs.cs
- DeferredRunTextReference.cs
- CategoryEditor.cs