Code:
/ 4.0 / 4.0 / 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. //------------------------------------------------------------------------------ //// 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
- ObjectConverter.cs
- EndpointAddressElementBase.cs
- MyContact.cs
- HitTestWithPointDrawingContextWalker.cs
- StringSource.cs
- TemplateControlCodeDomTreeGenerator.cs
- ExtensionDataReader.cs
- WhitespaceRule.cs
- GatewayDefinition.cs
- SqlTransaction.cs
- BlurBitmapEffect.cs
- PixelFormat.cs
- StatusInfoItem.cs
- RuntimeConfigLKG.cs
- XamlSerializer.cs
- SqlDataSourceQueryEditor.cs
- SHA1Managed.cs
- MeasurementDCInfo.cs
- Marshal.cs
- MaxMessageSizeStream.cs
- SqlDependencyUtils.cs
- ExtensionSimplifierMarkupObject.cs
- SqlMetaData.cs
- WebRequestModulesSection.cs
- SubclassTypeValidator.cs
- EntityContainerEmitter.cs
- DataServiceQueryProvider.cs
- ListViewPagedDataSource.cs
- OracleColumn.cs
- SignedXml.cs
- GenericsInstances.cs
- EntityException.cs
- TraceHandlerErrorFormatter.cs
- SqlRowUpdatedEvent.cs
- ZipIOLocalFileBlock.cs
- MissingManifestResourceException.cs
- ComponentDispatcher.cs
- XmlNamespaceManager.cs
- BuildProvider.cs
- BufferModeSettings.cs
- Int32CollectionConverter.cs
- EditorPartCollection.cs
- X509RecipientCertificateServiceElement.cs
- DocumentOrderComparer.cs
- CachedPathData.cs
- CmsInterop.cs
- FileDialog.cs
- XslCompiledTransform.cs
- LoadedOrUnloadedOperation.cs
- RadioButtonStandardAdapter.cs
- CustomWebEventKey.cs
- Duration.cs
- MetadataCache.cs
- ManagedWndProcTracker.cs
- StoreContentChangedEventArgs.cs
- RequestTimeoutManager.cs
- ListViewHitTestInfo.cs
- Timeline.cs
- CompilerParameters.cs
- Evidence.cs
- CalendarItem.cs
- HtmlTitle.cs
- ServiceMetadataContractBehavior.cs
- LogRestartAreaEnumerator.cs
- DefaultValueAttribute.cs
- CodeTypeDelegate.cs
- MgmtConfigurationRecord.cs
- FigureHelper.cs
- bindurihelper.cs
- Pair.cs
- MultiView.cs
- TreeChangeInfo.cs
- HttpProcessUtility.cs
- IpcClientChannel.cs
- Parameter.cs
- SerializationObjectManager.cs
- Int32CollectionConverter.cs
- HostSecurityManager.cs
- XmlSchemaComplexContentExtension.cs
- XmlQueryCardinality.cs
- TextDecorationCollection.cs
- DLinqColumnProvider.cs
- TableRow.cs
- LOSFormatter.cs
- RowsCopiedEventArgs.cs
- SmtpFailedRecipientsException.cs
- EventHandlingScope.cs
- ResourcePermissionBase.cs
- UIInitializationException.cs
- ResourceIDHelper.cs
- AssemblyCollection.cs
- CaseStatementSlot.cs
- DataTemplateSelector.cs
- CalendarAutomationPeer.cs
- SqlDataSourceSelectingEventArgs.cs
- SystemInformation.cs
- PreviewKeyDownEventArgs.cs
- XmlSchemaSet.cs
- TableRowsCollectionEditor.cs
- RuntimeTrackingProfile.cs