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
- AutomationPatternInfo.cs
- Facet.cs
- XpsFilter.cs
- SafeNativeMethods.cs
- DataGridViewComboBoxCell.cs
- TemplatedEditableDesignerRegion.cs
- TreeNodeBindingCollection.cs
- SoapHeaders.cs
- GlobalProxySelection.cs
- SByte.cs
- StickyNote.cs
- UnknownBitmapDecoder.cs
- CalendarDay.cs
- XmlSchemaObjectCollection.cs
- PropertyIdentifier.cs
- AnonymousIdentificationSection.cs
- AuthenticationException.cs
- DataGridPageChangedEventArgs.cs
- AutomationProperty.cs
- RuntimeVariableList.cs
- SerializerProvider.cs
- CodeExporter.cs
- XmlEntity.cs
- SecUtil.cs
- SoapFault.cs
- BuildTopDownAttribute.cs
- UserControlBuildProvider.cs
- Thread.cs
- JoinSymbol.cs
- ClipboardData.cs
- XamlFilter.cs
- SafeFreeMibTable.cs
- DetailsViewUpdateEventArgs.cs
- FileDialogCustomPlaces.cs
- CapabilitiesRule.cs
- HeaderFilter.cs
- SafeWaitHandle.cs
- WebPartConnectionsDisconnectVerb.cs
- NavigationProperty.cs
- ColorMatrix.cs
- WsdlBuildProvider.cs
- ItemsControl.cs
- PkcsMisc.cs
- AsyncResult.cs
- BindToObject.cs
- InternalConfigSettingsFactory.cs
- ByteStreamMessageUtility.cs
- WorkflowWebService.cs
- TableRow.cs
- SynchronizationLockException.cs
- MediaElement.cs
- StrokeIntersection.cs
- DiscoveryMessageSequenceCD1.cs
- ColorConvertedBitmap.cs
- StateMachine.cs
- BinaryExpression.cs
- VectorKeyFrameCollection.cs
- WindowsListViewGroup.cs
- Compiler.cs
- ControlParser.cs
- RtfFormatStack.cs
- KeyboardNavigation.cs
- WSHttpSecurityElement.cs
- TypeBuilder.cs
- StrokeIntersection.cs
- DesigntimeLicenseContextSerializer.cs
- ActivityValidationServices.cs
- MdiWindowListStrip.cs
- XmlTextAttribute.cs
- ChannelAcceptor.cs
- SchemaType.cs
- StrokeCollectionConverter.cs
- NumberSubstitution.cs
- DrawingImage.cs
- FileSystemEventArgs.cs
- JoinCqlBlock.cs
- GeneralTransform3DGroup.cs
- Matrix.cs
- XmlSerializerVersionAttribute.cs
- Matrix.cs
- UserControl.cs
- AliasedSlot.cs
- ApplicationId.cs
- AtomServiceDocumentSerializer.cs
- StrongNameSignatureInformation.cs
- WebScriptMetadataMessageEncoderFactory.cs
- CoTaskMemSafeHandle.cs
- UriSection.cs
- Reference.cs
- DeclarativeCatalogPart.cs
- SoapServerMethod.cs
- Config.cs
- SqlMethodCallConverter.cs
- XmlLoader.cs
- GeometryCollection.cs
- CodeLinePragma.cs
- Bidi.cs
- BufferModeSettings.cs
- ColumnResult.cs
- TransactionScopeDesigner.cs