Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// 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
- ActivationArguments.cs
- PageBreakRecord.cs
- ByteAnimation.cs
- CaseInsensitiveHashCodeProvider.cs
- XmlSchemas.cs
- GACIdentityPermission.cs
- TextWriter.cs
- ContentElement.cs
- SelectedGridItemChangedEvent.cs
- DataRecordObjectView.cs
- VBIdentifierTrimConverter.cs
- CompilerWrapper.cs
- BrushValueSerializer.cs
- ToggleButton.cs
- XmlWriterTraceListener.cs
- ObjectParameterCollection.cs
- HttpConfigurationContext.cs
- XmlWrappingWriter.cs
- DispatcherHookEventArgs.cs
- PeerUnsafeNativeCryptMethods.cs
- BinarySerializer.cs
- TriggerCollection.cs
- ChangeBlockUndoRecord.cs
- OperationCanceledException.cs
- HuffmanTree.cs
- CodeAttributeArgument.cs
- MouseBinding.cs
- ExpressionParser.cs
- BookmarkManager.cs
- Publisher.cs
- MobileErrorInfo.cs
- TemplateManager.cs
- CommandEventArgs.cs
- HostedElements.cs
- AspProxy.cs
- SoapTypeAttribute.cs
- PropertyInfoSet.cs
- ObjectDataSourceDisposingEventArgs.cs
- DocumentsTrace.cs
- DataSourceProvider.cs
- DataGridViewRowCancelEventArgs.cs
- XmlCompatibilityReader.cs
- LogicalChannelCollection.cs
- PublisherMembershipCondition.cs
- DesignerWebPartChrome.cs
- FieldToken.cs
- TreeNodeConverter.cs
- AnnotationDocumentPaginator.cs
- ZipIOLocalFileHeader.cs
- CheckBox.cs
- XmlQueryCardinality.cs
- Parameter.cs
- SHA1.cs
- BamlLocalizationDictionary.cs
- Polyline.cs
- ImageListStreamer.cs
- CDSCollectionETWBCLProvider.cs
- ClientSettingsSection.cs
- SchemaNames.cs
- ModulesEntry.cs
- DBSqlParserTableCollection.cs
- RequestCacheManager.cs
- ClientScriptManagerWrapper.cs
- DataGridPageChangedEventArgs.cs
- BaseTemplateParser.cs
- EventPropertyMap.cs
- TraversalRequest.cs
- Int32Animation.cs
- SchemaCollectionPreprocessor.cs
- NumericPagerField.cs
- BamlRecordHelper.cs
- ServiceDescriptions.cs
- EndEvent.cs
- FeedUtils.cs
- AsyncPostBackErrorEventArgs.cs
- Control.cs
- DataObject.cs
- QueryContinueDragEvent.cs
- FormsAuthenticationTicket.cs
- PageRanges.cs
- MdiWindowListStrip.cs
- FlowLayout.cs
- basecomparevalidator.cs
- List.cs
- TagMapCollection.cs
- SpotLight.cs
- BamlRecordReader.cs
- PackageRelationship.cs
- DbModificationClause.cs
- BufferModesCollection.cs
- SpeakCompletedEventArgs.cs
- DataSourceSelectArguments.cs
- HttpApplicationFactory.cs
- TypeExtension.cs
- ActiveXContainer.cs
- DefaultPropertyAttribute.cs
- StorageEntityContainerMapping.cs
- CalendarDateChangedEventArgs.cs
- SqlRecordBuffer.cs
- SqlHelper.cs