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
- MobileUserControlDesigner.cs
- CommonDialog.cs
- Trustee.cs
- PropertyKey.cs
- IsolatedStorageFile.cs
- CodeDelegateInvokeExpression.cs
- WindowsFormsSynchronizationContext.cs
- SendMailErrorEventArgs.cs
- Deserializer.cs
- AffineTransform3D.cs
- WpfXamlType.cs
- Attributes.cs
- Point3DIndependentAnimationStorage.cs
- PatternMatcher.cs
- ToolStripPanelCell.cs
- ViewStateModeByIdAttribute.cs
- NameScopePropertyAttribute.cs
- SystemResourceHost.cs
- DefaultValueTypeConverter.cs
- WebBrowserPermission.cs
- ToolStripDropDownClosedEventArgs.cs
- AttributeEmitter.cs
- mil_sdk_version.cs
- ComplexTypeEmitter.cs
- CodeDomConfigurationHandler.cs
- StatusBarAutomationPeer.cs
- TemplatePartAttribute.cs
- CompareInfo.cs
- GlyphRunDrawing.cs
- SecurityKeyIdentifier.cs
- SelectionEditingBehavior.cs
- FlagsAttribute.cs
- HttpContextWrapper.cs
- DataGridViewRowCancelEventArgs.cs
- MdiWindowListItemConverter.cs
- ConstraintCollection.cs
- AuthenticationModulesSection.cs
- XmlQueryContext.cs
- DecoderFallback.cs
- SubMenuStyleCollection.cs
- LayoutInformation.cs
- FormParameter.cs
- MetadataCollection.cs
- XmlCompatibilityReader.cs
- WebPartAddingEventArgs.cs
- Enlistment.cs
- DrawingServices.cs
- Compiler.cs
- SizeKeyFrameCollection.cs
- LambdaValue.cs
- BufferedGraphicsManager.cs
- Brush.cs
- LineSegment.cs
- ReachDocumentReferenceSerializer.cs
- TextEncodedRawTextWriter.cs
- COM2TypeInfoProcessor.cs
- EventLogHandle.cs
- Point3DCollectionValueSerializer.cs
- QilChoice.cs
- BridgeDataRecord.cs
- WebPartAddingEventArgs.cs
- RoutedPropertyChangedEventArgs.cs
- IisTraceWebEventProvider.cs
- PhysicalOps.cs
- HotSpotCollection.cs
- BaseTemplateCodeDomTreeGenerator.cs
- CacheChildrenQuery.cs
- SR.cs
- ComponentCollection.cs
- SchemaCreator.cs
- MouseOverProperty.cs
- webbrowsersite.cs
- ApplicationHost.cs
- Page.cs
- ConfigurationErrorsException.cs
- Compiler.cs
- EntityViewContainer.cs
- Style.cs
- Resources.Designer.cs
- Relationship.cs
- HttpTransportBindingElement.cs
- IdentityHolder.cs
- SynchronizationContext.cs
- COM2ExtendedBrowsingHandler.cs
- PersianCalendar.cs
- ContractCodeDomInfo.cs
- SecurityAccessDeniedException.cs
- SqlServer2KCompatibilityAnnotation.cs
- ExpressionBindings.cs
- Attributes.cs
- ExpressionBuilderCollection.cs
- TypedReference.cs
- CatalogPartDesigner.cs
- DefaultBindingPropertyAttribute.cs
- EntityConnectionStringBuilder.cs
- ObjectQuery.cs
- FrameworkRichTextComposition.cs
- DataGridViewCheckBoxCell.cs
- InputBinding.cs
- PrintPreviewControl.cs