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
- XmlMembersMapping.cs
- PageOutputColor.cs
- PageParserFilter.cs
- HtmlMeta.cs
- CursorInteropHelper.cs
- MethodAccessException.cs
- RequestNavigateEventArgs.cs
- SequenceDesignerAccessibleObject.cs
- DetailsViewAutoFormat.cs
- BitmapEffectrendercontext.cs
- ConnectionsZone.cs
- Pen.cs
- JoinSymbol.cs
- Triangle.cs
- MasterPageBuildProvider.cs
- MessageBox.cs
- ContainsRowNumberChecker.cs
- OdbcConnectionStringbuilder.cs
- SortQuery.cs
- ProjectionPathBuilder.cs
- DesignerVerbToolStripMenuItem.cs
- AttributeCollection.cs
- PageCatalogPart.cs
- ScopelessEnumAttribute.cs
- IPPacketInformation.cs
- DataGridHeaderBorder.cs
- LassoHelper.cs
- SoapFault.cs
- DependencyObjectProvider.cs
- DependencyObjectProvider.cs
- TemplateXamlParser.cs
- FontFamily.cs
- AdRotator.cs
- GlyphShapingProperties.cs
- Label.cs
- ProvideValueServiceProvider.cs
- NullableConverter.cs
- HorizontalAlignConverter.cs
- IndependentAnimationStorage.cs
- WebPartEventArgs.cs
- Tag.cs
- SslSecurityTokenParameters.cs
- HyperlinkAutomationPeer.cs
- TrustManagerMoreInformation.cs
- GridViewHeaderRowPresenter.cs
- InProcStateClientManager.cs
- ByteAnimation.cs
- SecurityTokenProvider.cs
- Rules.cs
- IteratorDescriptor.cs
- InputReportEventArgs.cs
- UndirectedGraph.cs
- CachedPathData.cs
- RemotingAttributes.cs
- DataGridViewHitTestInfo.cs
- SqlCacheDependencySection.cs
- XmlHierarchicalDataSourceView.cs
- GroupBox.cs
- NodeFunctions.cs
- httpserverutility.cs
- SystemColors.cs
- XmlEncodedRawTextWriter.cs
- SqlRowUpdatedEvent.cs
- PageEventArgs.cs
- KeyGestureValueSerializer.cs
- _SSPIWrapper.cs
- Executor.cs
- CompilationLock.cs
- XmlTextReader.cs
- DropDownButton.cs
- TopClause.cs
- RevocationPoint.cs
- XamlFilter.cs
- NameObjectCollectionBase.cs
- TableLayoutRowStyleCollection.cs
- TypeBuilder.cs
- WSMessageEncoding.cs
- TransformCollection.cs
- DoubleCollectionValueSerializer.cs
- WebServiceMethodData.cs
- MessageQueueException.cs
- ApplicationBuildProvider.cs
- ProxyAttribute.cs
- XmlDataFileEditor.cs
- WebRequestModuleElement.cs
- EntityDesignerDataSourceView.cs
- RemotingException.cs
- WorkflowInstanceSuspendedRecord.cs
- EncodingTable.cs
- UIAgentMonitorHandle.cs
- InstanceNormalEvent.cs
- XmlMembersMapping.cs
- PeerServiceMessageContracts.cs
- OfTypeExpression.cs
- DeleteMemberBinder.cs
- DataGridHyperlinkColumn.cs
- XsltContext.cs
- DurationConverter.cs
- NavigationPropertyAccessor.cs
- X509Certificate.cs