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
- BoolExpressionVisitors.cs
- BitmapImage.cs
- DynamicDataManager.cs
- ObjectViewFactory.cs
- MailMessage.cs
- ProxyOperationRuntime.cs
- URLMembershipCondition.cs
- PageAsyncTaskManager.cs
- jithelpers.cs
- BinaryObjectInfo.cs
- SizeAnimationBase.cs
- EditorPartChrome.cs
- _NegoStream.cs
- Stackframe.cs
- HttpWebResponse.cs
- DateTime.cs
- XmlEncodedRawTextWriter.cs
- ManipulationStartedEventArgs.cs
- PropertyEmitter.cs
- Base64Encoder.cs
- HandlerWithFactory.cs
- TrimSurroundingWhitespaceAttribute.cs
- HtmlDocument.cs
- IndexedString.cs
- StatusBarDesigner.cs
- ResourcePermissionBase.cs
- DoubleCollection.cs
- PackageRelationshipSelector.cs
- IPCCacheManager.cs
- PseudoWebRequest.cs
- StylusEventArgs.cs
- GroupBoxRenderer.cs
- MemberProjectedSlot.cs
- AssemblyNameProxy.cs
- PageStatePersister.cs
- WeakReadOnlyCollection.cs
- MdiWindowListItemConverter.cs
- RegistryKey.cs
- NonSerializedAttribute.cs
- CompatibleComparer.cs
- FlowDecision.cs
- IconBitmapDecoder.cs
- MdiWindowListStrip.cs
- CodeRemoveEventStatement.cs
- ArrayEditor.cs
- BufferedStream2.cs
- PointConverter.cs
- SecurityContextTokenCache.cs
- MemoryResponseElement.cs
- EventEntry.cs
- GridViewColumnCollectionChangedEventArgs.cs
- Point4DConverter.cs
- SqlInternalConnectionTds.cs
- ColumnReorderedEventArgs.cs
- ProviderCommandInfoUtils.cs
- CqlQuery.cs
- COMException.cs
- SHA256Managed.cs
- CaseStatement.cs
- CanExpandCollapseAllConverter.cs
- BlockUIContainer.cs
- MethodMessage.cs
- PageParserFilter.cs
- ContentType.cs
- FileRecordSequenceCompletedAsyncResult.cs
- DivideByZeroException.cs
- XamlSerializerUtil.cs
- RecordManager.cs
- URL.cs
- GPPOINTF.cs
- SystemResources.cs
- EntityDesignerDataSourceView.cs
- InteropEnvironment.cs
- Msec.cs
- DataPagerFieldCollection.cs
- PersianCalendar.cs
- PointHitTestParameters.cs
- ThicknessKeyFrameCollection.cs
- RegexCompilationInfo.cs
- ContentElement.cs
- GeometryModel3D.cs
- WebEvents.cs
- WCFServiceClientProxyGenerator.cs
- StatusBarPanel.cs
- RegionIterator.cs
- Attributes.cs
- MetadataItemEmitter.cs
- WindowsGraphics.cs
- TextEffectCollection.cs
- RequestStatusBarUpdateEventArgs.cs
- DataViewManager.cs
- LocatorManager.cs
- SqlDataSourceView.cs
- UIElementAutomationPeer.cs
- XmlILCommand.cs
- WriteTimeStream.cs
- EndpointAddress10.cs
- MSAAWinEventWrap.cs
- PolyQuadraticBezierSegment.cs
- DataContractSerializerOperationFormatter.cs