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
- NavigationPropertySingletonExpression.cs
- BordersPage.cs
- SystemUdpStatistics.cs
- DataSet.cs
- TypedDataSetSchemaImporterExtension.cs
- FunctionImportElement.cs
- ModelItemCollection.cs
- XPathNodeIterator.cs
- FactoryMaker.cs
- RawAppCommandInputReport.cs
- DataGridViewMethods.cs
- MatrixCamera.cs
- SynchronizedInputProviderWrapper.cs
- AssemblyInfo.cs
- Int64.cs
- AudioSignalProblemOccurredEventArgs.cs
- Interlocked.cs
- HMACSHA512.cs
- CookieParameter.cs
- ButtonChrome.cs
- ActivityContext.cs
- ClientSponsor.cs
- RegistryHandle.cs
- XmlSchemaSimpleTypeRestriction.cs
- LinkDescriptor.cs
- ToolBarTray.cs
- SmtpSection.cs
- ExtendedPropertyInfo.cs
- DependencyPropertyChangedEventArgs.cs
- DesignerActionVerbItem.cs
- TabControlCancelEvent.cs
- ArgumentReference.cs
- DefaultTextStoreTextComposition.cs
- SmiGettersStream.cs
- DPTypeDescriptorContext.cs
- _PooledStream.cs
- AppDomainProtocolHandler.cs
- Bold.cs
- PauseStoryboard.cs
- WeakReference.cs
- Int32Storage.cs
- QuadraticBezierSegment.cs
- SchemaEntity.cs
- DataTableNameHandler.cs
- UnsafeNetInfoNativeMethods.cs
- ThousandthOfEmRealPoints.cs
- CqlGenerator.cs
- MissingMemberException.cs
- MobileControlPersister.cs
- PasswordBoxAutomationPeer.cs
- MatrixUtil.cs
- SaveLedgerEntryRequest.cs
- LateBoundChannelParameterCollection.cs
- BamlRecords.cs
- ColumnWidthChangedEvent.cs
- IgnoreFlushAndCloseStream.cs
- ProfileService.cs
- ArglessEventHandlerProxy.cs
- FocusTracker.cs
- LinkDesigner.cs
- BlobPersonalizationState.cs
- QuestionEventArgs.cs
- SchemaImporterExtensionElement.cs
- IsolatedStoragePermission.cs
- DelegateSerializationHolder.cs
- MetadataItemCollectionFactory.cs
- ValueHandle.cs
- ResponseBodyWriter.cs
- SizeChangedEventArgs.cs
- IntegerFacetDescriptionElement.cs
- ColorIndependentAnimationStorage.cs
- QueryActivatableWorkflowsCommand.cs
- DbConnectionInternal.cs
- MessageQueuePermissionAttribute.cs
- _RequestCacheProtocol.cs
- UserInitiatedNavigationPermission.cs
- EventNotify.cs
- DataControlPagerLinkButton.cs
- DataTableTypeConverter.cs
- MatrixTransform.cs
- ClientSettingsStore.cs
- FamilyTypefaceCollection.cs
- DataGridViewSelectedRowCollection.cs
- ItemsControlAutomationPeer.cs
- ListenerPerfCounters.cs
- PerformanceCounterPermission.cs
- TextContainer.cs
- XmlWellformedWriter.cs
- PointHitTestResult.cs
- UrlMappingCollection.cs
- bidPrivateBase.cs
- ProviderConnectionPoint.cs
- StyleSheetComponentEditor.cs
- Activator.cs
- BitmapFrame.cs
- PackageProperties.cs
- UiaCoreTypesApi.cs
- FixedHyperLink.cs
- ColorConvertedBitmap.cs
- BuildResultCache.cs