Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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; } } } } // 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
- Mapping.cs
- GrowingArray.cs
- DBAsyncResult.cs
- RootBrowserWindowProxy.cs
- ToolStripButton.cs
- SafeMemoryMappedViewHandle.cs
- ResourcePermissionBase.cs
- Clock.cs
- messageonlyhwndwrapper.cs
- JapaneseCalendar.cs
- DispatchWrapper.cs
- FreezableOperations.cs
- _ListenerAsyncResult.cs
- DSASignatureDeformatter.cs
- PathFigureCollectionConverter.cs
- DataGridBeginningEditEventArgs.cs
- PrivilegeNotHeldException.cs
- SponsorHelper.cs
- ColorPalette.cs
- KeyGesture.cs
- AttributeProviderAttribute.cs
- PropertySegmentSerializationProvider.cs
- FixedTextBuilder.cs
- WasEndpointConfigContainer.cs
- OleStrCAMarshaler.cs
- IERequestCache.cs
- ApplicationInfo.cs
- ProxyHelper.cs
- TextContainer.cs
- HyperLinkField.cs
- TreeViewImageKeyConverter.cs
- ObjectContext.cs
- BufferModeSettings.cs
- CategoryGridEntry.cs
- SuppressMessageAttribute.cs
- DataGridItem.cs
- DateTimeHelper.cs
- HttpRequestCacheValidator.cs
- WebBrowserDesigner.cs
- DocumentApplicationDocumentViewer.cs
- Codec.cs
- DictionaryContent.cs
- WsrmFault.cs
- ActiveDocumentEvent.cs
- URLBuilder.cs
- XPathQilFactory.cs
- DataBinding.cs
- WindowsListViewGroupHelper.cs
- HtmlTableCellCollection.cs
- SessionEndingEventArgs.cs
- MetadataCache.cs
- BaseAsyncResult.cs
- SqlClientPermission.cs
- IODescriptionAttribute.cs
- PenLineCapValidation.cs
- SchemaConstraints.cs
- _NestedMultipleAsyncResult.cs
- TreeViewHitTestInfo.cs
- JulianCalendar.cs
- ListItemCollection.cs
- ClickablePoint.cs
- WebPartCatalogCloseVerb.cs
- ExpressionConverter.cs
- Events.cs
- SessionEndingEventArgs.cs
- WindowsGraphicsCacheManager.cs
- DoubleAnimationClockResource.cs
- AnnotationHelper.cs
- RequestFactory.cs
- ZipIOLocalFileDataDescriptor.cs
- Msec.cs
- StrokeFIndices.cs
- DataGridTable.cs
- LeaseManager.cs
- ExtractorMetadata.cs
- TransformPatternIdentifiers.cs
- categoryentry.cs
- ContentHostHelper.cs
- CacheSection.cs
- HttpResponse.cs
- BindingOperations.cs
- ComponentChangedEvent.cs
- ColorMap.cs
- _FtpControlStream.cs
- OperationCanceledException.cs
- FrameworkContentElement.cs
- XmlObjectSerializer.cs
- QilIterator.cs
- TextDecorationLocationValidation.cs
- _Rfc2616CacheValidators.cs
- PermissionRequestEvidence.cs
- PropertyChangeTracker.cs
- UnmanagedBitmapWrapper.cs
- OleDbWrapper.cs
- Transform.cs
- SqlStatistics.cs
- Enum.cs
- TableRow.cs
- HttpBrowserCapabilitiesBase.cs
- XpsSerializationException.cs