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
- XmlQueryRuntime.cs
- dtdvalidator.cs
- SqlError.cs
- GenericTypeParameterBuilder.cs
- BrowserCapabilitiesCompiler.cs
- NTAccount.cs
- UpnEndpointIdentityExtension.cs
- COM2ColorConverter.cs
- Expander.cs
- LinqDataSource.cs
- TypeBuilder.cs
- Path.cs
- ShapingEngine.cs
- GenericNameHandler.cs
- PowerModeChangedEventArgs.cs
- RoleManagerSection.cs
- FontStretch.cs
- SchemaImporterExtensionsSection.cs
- EntityContainerEntitySet.cs
- HtmlInputButton.cs
- Int32RectValueSerializer.cs
- DecoratedNameAttribute.cs
- NativeMethods.cs
- NetworkInterface.cs
- PointUtil.cs
- DataGridHeaderBorder.cs
- XmlImplementation.cs
- SerializationHelper.cs
- DataIdProcessor.cs
- contentDescriptor.cs
- NativeRightsManagementAPIsStructures.cs
- CDSsyncETWBCLProvider.cs
- ParsedAttributeCollection.cs
- LineGeometry.cs
- XmlParserContext.cs
- SimpleWebHandlerParser.cs
- KnownTypeHelper.cs
- SQLInt16Storage.cs
- RemotingAttributes.cs
- LayoutTable.cs
- StdValidatorsAndConverters.cs
- BezierSegment.cs
- ReadonlyMessageFilter.cs
- TokenBasedSetEnumerator.cs
- DataSourceCollectionBase.cs
- HwndMouseInputProvider.cs
- ListDependantCardsRequest.cs
- DataTableCollection.cs
- UnionExpr.cs
- _NetworkingPerfCounters.cs
- DropDownList.cs
- ClientRuntimeConfig.cs
- SByteStorage.cs
- Point3DCollection.cs
- InvalidDataException.cs
- AudioStateChangedEventArgs.cs
- SourceSwitch.cs
- XamlParser.cs
- ExpandCollapsePattern.cs
- FamilyTypefaceCollection.cs
- EventToken.cs
- XmlSchemaType.cs
- x509utils.cs
- ConfigXmlReader.cs
- ColumnWidthChangedEvent.cs
- ResourceProviderFactory.cs
- ManualResetEvent.cs
- DropTarget.cs
- AxisAngleRotation3D.cs
- DynamicRendererThreadManager.cs
- SequenceDesigner.cs
- WebScriptEnablingBehavior.cs
- PerformanceCounterCategory.cs
- ToolStripSettings.cs
- Byte.cs
- DesignerUtility.cs
- EntityDataSourceColumn.cs
- GlyphCache.cs
- LineSegment.cs
- DurableDispatcherAddressingFault.cs
- TableRow.cs
- CustomError.cs
- TextControl.cs
- SystemIcmpV4Statistics.cs
- TcpPortSharing.cs
- Root.cs
- UniqueSet.cs
- HashRepartitionStream.cs
- SizeChangedEventArgs.cs
- BinaryUtilClasses.cs
- TextProperties.cs
- DesignerOptionService.cs
- DataColumnCollection.cs
- DetailsViewDeleteEventArgs.cs
- TransformGroup.cs
- DesignTimeParseData.cs
- ConnectionStringEditor.cs
- DateTimeConverter2.cs
- CookieProtection.cs
- RowBinding.cs