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
- Substitution.cs
- DesignerProperties.cs
- DbConnectionHelper.cs
- ApplicationActivator.cs
- Timer.cs
- PopupEventArgs.cs
- SpeechDetectedEventArgs.cs
- XhtmlBasicPanelAdapter.cs
- OpenTypeCommon.cs
- HtmlTitle.cs
- ReflectEventDescriptor.cs
- SharedConnectionInfo.cs
- XmlCharCheckingReader.cs
- VisualTarget.cs
- CancelEventArgs.cs
- CodeTypeReferenceExpression.cs
- TableItemProviderWrapper.cs
- SchemeSettingElement.cs
- EarlyBoundInfo.cs
- StorageRoot.cs
- DataServiceResponse.cs
- ResXResourceReader.cs
- SoapFault.cs
- Hex.cs
- ServiceReference.cs
- UnsafeNativeMethods.cs
- DataGridViewImageColumn.cs
- _FixedSizeReader.cs
- MobileControl.cs
- SourceElementsCollection.cs
- RectangleConverter.cs
- XmlAnyElementAttribute.cs
- PriorityChain.cs
- ToolZone.cs
- PersistenceContextEnlistment.cs
- _ListenerResponseStream.cs
- BinaryParser.cs
- FeatureSupport.cs
- CacheHelper.cs
- XmlSerializerSection.cs
- MeasurementDCInfo.cs
- StrokeCollectionConverter.cs
- Literal.cs
- Grant.cs
- WebDescriptionAttribute.cs
- AssemblyInfo.cs
- HttpStreamMessage.cs
- IPEndPoint.cs
- ConfigurationLockCollection.cs
- GridEntry.cs
- PresentationAppDomainManager.cs
- COM2Properties.cs
- PointConverter.cs
- DataGridItem.cs
- DeflateStream.cs
- XmlLinkedNode.cs
- ConfigXmlText.cs
- RectConverter.cs
- RegistrySecurity.cs
- SqlReorderer.cs
- BooleanAnimationUsingKeyFrames.cs
- PointLightBase.cs
- PersonalizationEntry.cs
- DebugView.cs
- StructuralType.cs
- SqlServices.cs
- DataView.cs
- CubicEase.cs
- AutoCompleteStringCollection.cs
- Int32CollectionValueSerializer.cs
- TypeInfo.cs
- XmlnsCache.cs
- BaseUriHelper.cs
- ConnectionConsumerAttribute.cs
- SoapReflectionImporter.cs
- DCSafeHandle.cs
- DefaultDiscoveryServiceExtension.cs
- COM2ColorConverter.cs
- TabOrder.cs
- ComEventsInfo.cs
- RelOps.cs
- ELinqQueryState.cs
- MSAAEventDispatcher.cs
- SEHException.cs
- HtmlValidatorAdapter.cs
- DbConvert.cs
- DockPatternIdentifiers.cs
- InkCanvas.cs
- RegisteredScript.cs
- PointCollectionConverter.cs
- StyleSheetComponentEditor.cs
- InputDevice.cs
- RadioButtonBaseAdapter.cs
- BaseTypeViewSchema.cs
- ClientScriptManager.cs
- GridEntry.cs
- TouchesOverProperty.cs
- EntityDataSourceUtil.cs
- OleDbParameter.cs
- DataContract.cs