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
- CommandExpr.cs
- WebPartZoneCollection.cs
- WebPartMenuStyle.cs
- GeneralTransform2DTo3D.cs
- UriTemplatePathSegment.cs
- ContentHostHelper.cs
- OdbcConnectionString.cs
- HwndProxyElementProvider.cs
- XsltSettings.cs
- XmlSchemaSet.cs
- MetadataException.cs
- webproxy.cs
- SynchronizedMessageSource.cs
- ExpressionParser.cs
- SubqueryTrackingVisitor.cs
- SplitterPanelDesigner.cs
- SuppressIldasmAttribute.cs
- PropertyDescriptorGridEntry.cs
- DesignerActionService.cs
- returneventsaver.cs
- ImageListStreamer.cs
- PageClientProxyGenerator.cs
- __Error.cs
- _CookieModule.cs
- ParserContext.cs
- PDBReader.cs
- StorageEntitySetMapping.cs
- Parameter.cs
- InternalSafeNativeMethods.cs
- HtmlShim.cs
- TransactionFlowBindingElementImporter.cs
- SystemResourceHost.cs
- SqlConnectionString.cs
- CodeCommentStatementCollection.cs
- InfoCardHelper.cs
- UdpDiscoveryEndpointProvider.cs
- SubqueryRules.cs
- Exceptions.cs
- ArrayListCollectionBase.cs
- MimeTypeAttribute.cs
- UnsignedPublishLicense.cs
- BreakRecordTable.cs
- ConnectionPointCookie.cs
- ObjectDataSourceChooseTypePanel.cs
- ApplicationDirectory.cs
- SchemaCollectionCompiler.cs
- DbSetClause.cs
- DeploymentSection.cs
- DataGridRow.cs
- SqlDataSourceSelectingEventArgs.cs
- ConstructorNeedsTagAttribute.cs
- XmlWriterTraceListener.cs
- WorkItem.cs
- ColumnTypeConverter.cs
- RectangleGeometry.cs
- HtmlElementCollection.cs
- RequestUriProcessor.cs
- InkCollectionBehavior.cs
- COAUTHIDENTITY.cs
- MergablePropertyAttribute.cs
- DefaultValueTypeConverter.cs
- BitmapEffectGroup.cs
- HtmlWindow.cs
- HostedTransportConfigurationBase.cs
- Attachment.cs
- TypeConvertions.cs
- TokenBasedSetEnumerator.cs
- OperandQuery.cs
- ButtonChrome.cs
- BaseAsyncResult.cs
- FunctionImportElement.cs
- OperationFormatUse.cs
- StubHelpers.cs
- StrokeNode.cs
- JavaScriptString.cs
- XPathNodeList.cs
- HwndAppCommandInputProvider.cs
- Helpers.cs
- SizeChangedInfo.cs
- CodeTypeOfExpression.cs
- VScrollBar.cs
- CollectionsUtil.cs
- PcmConverter.cs
- CacheDependency.cs
- TextElement.cs
- XmlWrappingWriter.cs
- PtsPage.cs
- Compiler.cs
- Transform3DGroup.cs
- SerialPinChanges.cs
- UiaCoreApi.cs
- ToolStripOverflow.cs
- _NegotiateClient.cs
- ColumnCollection.cs
- ButtonColumn.cs
- XmlSchemaAll.cs
- StylusOverProperty.cs
- ByteAnimationUsingKeyFrames.cs
- SizeConverter.cs
- VersionPair.cs